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
VendorProductAffected 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.
Fix within
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
Exploitation
<1% chance of attack within 30 days
Type
CWE-89SQL Injection
Timeline
Published13 Nov 2026
Updated2 Dec 2026
First seen13 Nov 2026
Sources
CVE-2026-126489 · MITRE
Track software like this
Free during beta