Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.4
CVE-2026-126489: OpenEMR before 8.5.0 allows admin to run database commands
CVE-2026-126489 · published 22 days ago
Summary
Versions of OpenEMR older than 8.5.0 let a logged‑in administrator add a specially crafted field that is later used in a database query. This can cause the system to execute unwanted database commands, potentially exposing or altering patient data. Upgrade OpenEMR to version 8.5.0 or later, or apply the vendor's patch that validates field identifiers before using them in queries.
What to do
- Update openemr openemr to version 8.5.0 or later.
- Update open-emr openemr to version 8.5.0 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| openemr | openemr | < 8.5.0 |
| open-emr | openemr |
< 8.5.0 cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:* |
Original advisory text
OpenEMR before 8.5.0 SQL Injection via IPPF Contraceptive Issue Feature
OpenEMR before 8.5.0 contains a second-order SQL injection vulnerability in the IPPF contraceptive issue feature because issue_ippf_con_save concatenates layout_options field_id values into a REPLACE INTO query as column names. Authenticated administrators can add a malicious field_id via edit_layout.php, then trigger issue_ippf_con_save through add_edit_issue.php to execute arbitrary SQL.
References
- https://github.com/openemr/openemr/security/advisories/GHSA-8j6v-q545-q9q7 Vendor Advisory
- https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-ippf... Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-1264... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-126489 Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Severity
9.4
Critical
Type
CWE-89SQL Injection
Timeline
Published13 Nov 2026
Updated2 Dec 2026
First seen13 Nov 2026
Sources
CVE-2026-126489 · NVD
CVE-2026-126489 · MITRE
CVE-2026-126489 · OSV
GHSA-8j6v-q545-q9q7 · GHSA
Track software like this
Free during beta