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

Home › CVE › PHP

CVE-2026-126492 — openemr

High · CVSS 7.1EPSS 0.4% 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 Versions Before 8.5.0

CVECVE-2026-126492
Vendor and productopenemr
PublishedNovember 24, 2026 17:36 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-126492 impacts OpenEMR versions prior to 8.5.0, allowing authenticated users with limited access to insert SQL code through a second-order flaw [1]. The CVSS 3.1 score is 8.8 HIGH, determined by NVD [1]. The reviewed sources do not confirm any exploitation [2]. The record lists 8.5.0 as the fixed version [1].

Key points

  • CVE-2026-126492 affects OpenEMR versions before 8.5.0 [1].
  • The CVSS 3.1 score is 8.8 HIGH, scored by NVD [1].
  • The reviewed sources do not report exploitation [2].
  • The main action is to upgrade to the fixed version 8.5.0 [1].
  • The vulnerability allows authenticated users with limited access to inject SQL [1].

Vulnerability identification

CVE IDVendorProductCWECVSS 4.0CVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-126492OpenEMROpenEMRCWE-89CVSS 4.0 base score 7.1, HIGH, scored by disclosure@vulncheck.com (Secondary)CVSS 3.1 base score 8.8, HIGH, scored by nvd@nist.gov (Primary)2026-11-13T10:17:592026-11-13T19:34:36Analyzed

Vulnerability description

A second-order SQL injection flaw exists in OpenEMR versions before 8.5.0, which allows users with limited access to inject malicious SQL code via the library/ajax/addlistitem.php endpoint [1]. Attackers can store a SQL fragment in the recentpatientcolumns optionid value, which is later used in dynamicfinder.php to form and execute a SELECT query [1].

Attack surface and exploitation prerequisites

The CVSS 3.1 vector indicates that the vulnerability requires network access, no user interaction, and low privileges [1]. To exploit this flaw, attackers must be low-privileged authenticated users [1].

Impact analysis

The CVSS 3.1 vector shows high impact on confidentiality, integrity and availability [1], while the CVSS 4.0 vector shows no availability impact [1]. The NVD record says attackers can persist a SQL fragment that is concatenated into a SELECT query and executed [1]; it does not describe the resulting consequences.

Affected products and versions

Affected VersionFixed Version
openemr < 8.5.08.5.0

Exploitation and threat intelligence status

CVE-2026-126492 is not listed in the CISA KEV catalog as of 2026-11-24 [2]. The EPSS score for this CVE is 0.36%, suggesting a low likelihood of exploitation within the next 30 days [3].

Detection and exposure assessment

Systems running OpenEMR versions before 8.5.0 are vulnerable [1]. To assess exposure, verify if the installed version is within the affected range [1].

Remediation

The vulnerability is resolved in OpenEMR version 8.5.0 [1]. The NVD record lists 8.5.0 as the fixed version [1].

Remediation checklist

  1. Upgrade to OpenEMR version 8.5.0 [1].
  2. Monitoring system logs for signs of database tampering is general guidance, not from the sources.
  3. Auditing affected systems is general guidance, not from the sources.

Evidence gaps

  • The sources do not describe the technical mechanics of the flaw.
  • The sources do not mention any indicators of compromise.
  • The sources do not provide a workaround or compensating control.
  • The sources do not describe the exact configuration or environment where the flaw occurs.
  • The sources do not provide a complete version range for affected products.

References

  1. CVE-2026-126492 record. NIST National Vulnerability Database (NVD), 2026-11-13. https://nvd.nist.gov/vuln/detail/CVE-2026-126492. 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-126492. FIRST, 2026-11-24. https://api.first.org/data/v1/epss?cve=CVE-2026-126492. 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 that allows low-privileged authenticated users to store malicious SQL via library/ajax/addlistitem.php. Attackers can persist a SQL fragment in the recent_patient_columns option_id value, which dynamic_finder.php concatenates into a SELECT query and executes as SQL.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

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

An attacker with a normal user account 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, a normal user account
User action needed
no
Impact
high on confidentiality, low on integrity, none on availability
Impact on other systems
none

Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/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 8.8 from NVD: CVSS:3.1/AV:N/AC:L/PR:L/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.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

Affected

  • openemr

Frequently asked questions

What is CVE-2026-126492?

CVE-2026-126492 impacts OpenEMR versions prior to 8.5.0, allowing authenticated users with limited access to insert SQL code through a second-order flaw. The CVSS 3.1 score is 8.8 HIGH, determined by NVD. The reviewed sources do not confirm any exploitation. The record lists 8.5.0 as the fixed version. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).

How severe is CVE-2026-126492?

CVE-2026-126492 has a CVSS 4.0 base score of 7.1 (high), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network, without any user action.

Is CVE-2026-126492 being exploited?

Not as far as is known: CVE-2026-126492 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-126492?

openemr < 8.5.0 (fixed in 8.5.0).

How do I fix CVE-2026-126492?

Upgrade to OpenEMR version 8.5.0. Monitoring system logs for signs of database tampering is general guidance, not from the sources. Auditing affected systems is general guidance, not from the sources.

Timeline & sources

References

Related vulnerabilities & news