SQL Injection in Open-Emr Openemr
CVE-2026-25746
OpenEMR is a free and open source electronic health records and medical practice management application. Versions prior to 8.0.0 contain a SQL injection vulnerability in prescription that can be exploited by authenticated attackers. The vulnerability exists due to insufficient input validation in the prescription listing functionality. Version 8.0.0 fixes the vulnerability.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.035, 89.4th percentile (scored ); up from 0.008 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.035 · change: +0.028
Affected products
- Open-Emr Openemr
- Openemr — versions < 8.0.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- ChrisSub08/CVE-2026-25746_SqlInjectionVulnerabilityOpenEMR7.0.4 (last pushed 2026-03-25): CVE-2026-25746 - SQL Injection Vulnerability in OpenEMR <8.0.0
References
- https://github.com/openemr/openemr/security/advisories/GHSA-78r7-g65p-gpw3 (Exploit, Vendor Advisory)
- https://github.com/openemr/openemr/commit/e230d3ef46425ffc96a37dc6369428aa37c88554 (Patch)
- https://github.com/ChrisSub08/CVE-2026-25746_SqlInjectionVulnerabilityOpenEMR7.0.4 (Exploit, Third Party Advisory)
- https://github.com/openemr/openemr/blob/2b46e594b9dd665fb7f16c913ca07f5c6d54412b/library/classes/Controller.class.php#L77 (Product)
- https://github.com/openemr/openemr/blob/9fa8db9f12d0b70985195b11b90f2dc564bd3b24/controller.php#L6 (Product)
- https://github.com/openemr/openemr/blob/9fa8db9f12d0b70985195b11b90f2dc564bd3b24/controllers/C_Prescription.class.php#L180 (Product)
- https://github.com/openemr/openemr/blob/9fa8db9f12d0b70985195b11b90f2dc564bd3b24/library/classes/Prescription.class.php#L1148 (Product)
This CVE has public exploit evidence. See the latest CVEs with public exploits.