Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › PHP

CVE-2026-126489 — openemr

High · CVSS 8.6EPSS 0.6% First seen November 13, 2026

One of 80 openemr vulnerabilities published together by NVD: our article covers all of them.

PHPWebVulnerabilities

Research article

OpenEMR SQL Injection Vulnerability in IPPF Contraceptive Issue Feature

CVECVE-2026-126489
Vendor and productopenemr
PublishedNovember 24, 2026 17:40 UTC
Research cut-offNovember 24, 2026 16:50 UTC
Sources reviewed3: 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 IDVendorProductCWECVSS 4.0CVSS 3.1
CVE-2026-126489OpenEMROpenEMRCWE-898.6 HIGH, scored by disclosure@vulncheck.com (Secondary)7.2 HIGH, scored by disclosure@vulncheck.com (Secondary)
PublishedLast ModifiedRecord Status
2026-11-13T10:17:592026-11-13T19:41:57Analyzed

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 VersionFixed Version
openemr < 8.5.08.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

  1. Upgrade OpenEMR to version 8.5.0 to apply the fix [1].
  2. Verify that all instances of OpenEMR are running the fixed version [1].
  3. Review and update access controls to prevent unauthorized administrators from modifying layout options [1].
  4. 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

  1. 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. Vulnerability identification, Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Remediation
  2. 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. Exploitation and threat intelligence status
  3. 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. Exploitation and threat intelligence status

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.6 CVSS 4.0 base score from the CNA (vulncheck.com)

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

Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 7.2 from the CNA (vulncheck.com): CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Affected and fixed versions

ProductAffected versionsFixed in
openemr< 8.5.08.5.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

Public exploits

Exploit available Exploit code or a detailed exploitation write-up is public, so attacks are easier to carry out.

References by type

Other references

Details from NVD (public domain).

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