CVE-2026-126492 — openemr
One of 80 openemr vulnerabilities published together by NVD: our article covers all of them.
PHPWebVulnerabilitiesResearch article
OpenEMR SQL Injection Vulnerability in Versions Before 8.5.0
| CVE | CVE-2026-126492 |
|---|---|
| Vendor and product | openemr |
| Published | November 24, 2026 17:36 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-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 ID | Vendor | Product | CWE | CVSS 4.0 | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|---|
| CVE-2026-126492 | OpenEMR | OpenEMR | CWE-89 | CVSS 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:59 | 2026-11-13T19:34:36 | Analyzed |
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 Version | Fixed Version |
|---|---|
| openemr < 8.5.0 | 8.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
- Upgrade to OpenEMR version 8.5.0 [1].
- 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.
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
- 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.
- 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-126492. FIRST, 2026-11-24. https://api.first.org/data/v1/epss?cve=CVE-2026-126492. Accessed 2026-11-24.
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.
Severity breakdown
High · 7.1
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
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 |
References by type
Vendor advisories
Other references
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.