CVE-2026-25746 OpenEMR has SQL Injection Vulnerability
HighCVSS 8.8
EPSS 0.90%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| open-emr openemr | < 8.0.0 | 8.0.0 | Fixed |
| openemr | = < 8.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | = < 8.0.0 | No fix listed |
| open-emr openemr | < 8.0.0 | 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