CVE-2026-126489 — openemr
One of 80 openemr vulnerabilities published together by NVD: our article covers all of them.
PHPWebVulnerabilitiesResearch article
OpenEMR SQL Injection Vulnerability in IPPF Contraceptive Issue Feature
| CVE | CVE-2026-126489 |
|---|---|
| Vendor and product | openemr |
| Published | November 24, 2026 17:40 UTC |
| Research cut-off | November 24, 2026 16:50 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-13); CISA KEV catalog; FIRST EPSS (2026-11-24) |
Executive summary
CVE-2026-126489 impacts OpenEMR versions prior to 8.5.0, enabling authenticated administrators to run arbitrary SQL commands through a second-order SQL injection flaw in the IPPF contraceptive issue feature [1]. The CVSS 3.1 score is 7.2 HIGH, assigned by disclosure@vulncheck.com. The reviewed sources do not confirm any exploitation [2]. The fixed version listed is 8.5.0 [1].
Key points
- CVE-2026-126489 affects OpenEMR versions before 8.5.0 due to a second-order SQL injection flaw in the IPPF contraceptive issue feature [1].
- The CVSS 3.1 score is 7.2 HIGH, assigned by disclosure@vulncheck.com (Secondary) [1].
- The reviewed sources do not confirm any exploitation [2].
- The fixed version is 8.5.0, and organizations should upgrade to it as soon as possible [1].
- The EPSS score for this CVE is 0.51%, suggesting a low likelihood of exploitation within the next 30 days [3].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | CVSS 3.1 |
|---|---|---|---|---|---|
| CVE-2026-126489 | OpenEMR | OpenEMR | CWE-89 | 8.6 HIGH, scored by disclosure@vulncheck.com (Secondary) | 7.2 HIGH, scored by disclosure@vulncheck.com (Secondary) |
| Published | Last Modified | Record Status | |||
| 2026-11-13T10:17:59 | 2026-11-13T19:41:57 | Analyzed |
Vulnerability description
A second-order SQL injection flaw exists in the IPPF contraceptive issue feature of OpenEMR versions before 8.5.0. The vulnerability occurs when the layoutoptions fieldid values are used as column names in a REPLACE INTO query [1]. An authenticated administrator can introduce a harmful fieldid through editlayout.php and then initiate issueippfconsave via addeditissue.php to execute arbitrary SQL commands [1].
Attack surface and exploitation prerequisites
The vulnerability requires access by an authenticated administrator, as the attacker must first add a malicious fieldid using editlayout.php [1]. The CVSS 3.1 vector indicates no user interaction is needed (UI:N) and that the attacker has high privileges (PR:H) to exploit the flaw [1].
Impact analysis
The CVSS 3.1 vector highlights high impact on confidentiality, integrity, and availability (C:H, I:H, A:H) [1]. The official description notes that authenticated administrators can execute arbitrary SQL through this flaw [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| openemr < 8.5.0 | 8.5.0 |
Exploitation and threat intelligence status
CVE-2026-126489 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-24 [2]. The EPSS score for this CVE is 0.51%, suggesting a low likelihood of exploitation within the next 30 days [3].
Detection and exposure assessment
Organizations should verify if they are using OpenEMR versions below 8.5.0, as this is the affected range [1]. No detection steps are provided by the sources [1].
Remediation
The vendor lists 8.5.0 as the fixed version [1]. No additional mitigation steps are mentioned in the sources [1].
Remediation checklist
- Upgrade OpenEMR to version 8.5.0 to apply the fix [1].
- Verify that all instances of OpenEMR are running the fixed version [1].
- Review and update access controls to prevent unauthorized administrators from modifying layout options [1].
- Monitor system logs for unusual SQL activity that may indicate exploitation [1].
Evidence gaps
- The sources do not describe the technical mechanics of how the SQL injection is triggered [1].
- The sources do not mention any indicators of compromise [1].
- The sources do not provide a workaround or compensating control [1].
- The sources do not specify the exact configurations or conditions under which the vulnerability is exploitable [1].
References
- CVE-2026-126489 record. NIST National Vulnerability Database (NVD), 2026-11-13. https://nvd.nist.gov/vuln/detail/CVE-2026-126489. Accessed 2026-11-24.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24.
- EPSS score for CVE-2026-126489. FIRST, 2026-11-24. https://api.first.org/data/v1/epss?cve=CVE-2026-126489. Accessed 2026-11-24.
Summary
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.
Severity breakdown
High · 8.6
An attacker with administrator rights can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, an administrator account
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | < 8.5.0 | 8.5.0 |
Public exploits
Exploit available
References by type
Other references
Affected
- openemr
Frequently asked questions
What is CVE-2026-126489?
CVE-2026-126489 impacts OpenEMR versions prior to 8.5.0, enabling authenticated administrators to run arbitrary SQL commands through a second-order SQL injection flaw in the IPPF contraceptive issue feature. The CVSS 3.1 score is 7.2 HIGH, assigned by disclosure@vulncheck.com. The reviewed sources do not confirm any exploitation. The fixed version listed is 8.5.0. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).
How severe is CVE-2026-126489?
CVE-2026-126489 has a CVSS 4.0 base score of 8.6 (high), from the CNA (vulncheck.com). An attacker with administrator rights can exploit this over the network, without any user action.
Is CVE-2026-126489 being exploited?
Not as far as is known: CVE-2026-126489 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-126489?
openemr < 8.5.0 (fixed in 8.5.0).
How do I fix CVE-2026-126489?
Upgrade OpenEMR to version 8.5.0 to apply the fix. Verify that all instances of OpenEMR are running the fixed version. Review and update access controls to prevent unauthorized administrators from modifying layout options.
Timeline & sources
References
Related vulnerabilities & news
- D-Link DIR-629 NTP Time Service Command Injection Vulnerability
- D-Link DIR-629 DHCP Server Command Injection Vulnerability
- TRENDnet TEW-751DR 1.03B01: Remote OS Command Injection in UPnP Event Handler (CVE-2026-138005)
- Hello Clever Gateway for WooCommerce (cleverpay-gateway) SQL Injection in Versions Through 1.8.4 (CVE-2026-136113)
- smalot/pdfparser Quadratic Time Denial of Service Vulnerability