CVE-2026-126425: OpenEMR - Stored SQL Injection
- Cve: CVE-2026-126425
- Name: OpenEMR - Stored SQL Injection
- Description: OpenEMR before 8.5.0 contains a stored SQL injection vulnerability in which History layout field identifiers saved through edit_layout.php, including HIS fields and LBF source-H fields, are placed unvalidated into an INSERT statement for patients without a history_data row. Users with admin/super and patients/med write access can trigger history_save.php or LBF saves to execute SQL functions like SLEEP, tying up database workers or accessing data beyond their privileges.
- Impact: Attackers can execute arbitrary SQL functions, causing database worker exhaustion (DoS) or accessing data beyond their privileges.
- Remediation: Upgrade to OpenEMR 8.5.0 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: denial_of_service, information_disclosure
- Requirement type: admin_privileges
- Requirements: Attacker needs admin/super and patients/med write access
- Labels source: securitycontext
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L
- Epss score: 0.00314
- Epss percentile: 0.24509
- Assignee: [email protected]
- Published at: 2026-11-13T10:17:48Z
- Age in days: 12
- Modified at: 2026-11-17T21:17:37Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-126425
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/openemr/openemr/security/advisories/GHSA-fq58-jp5g-x44q | nvd | 2026-11-13 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/openemr/openemr/security/advisories/GHSA-fq58-jp5g-x44q | nvd | Exploit, Vendor Advisory |
| https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-sql-injection-via-history-layout-field-identifiers | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| open-emr:openemr | < 8.5.0 | no | nvd | /v1/products/open-emr/openemr |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openemr/openemr | security_advisory | yes | /v1/repositories/openemr/openemr |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-11-13
- Remote: yes
- Authentication required: yes
- Exposed hosts: 2328
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports