CVE-2026-126425

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*

History

17 Nov 2026, 21:17

Type Values Removed Values Added
References () https://github.com/openemr/openemr/security/advisories/GHSA-fq58-jp5g-x44q - () https://github.com/openemr/openemr/security/advisories/GHSA-fq58-jp5g-x44q - Exploit, Vendor Advisory
References () https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-sql-injection-via-history-layout-field-identifiers - () https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-sql-injection-via-history-layout-field-identifiers - Third Party Advisory
CPE cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
First Time Open-emr openemr
Open-emr

13 Nov 2026, 10:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-13 10:17

Updated : 2026-11-17 21:17


NVD link : CVE-2026-126425

Mitre link : CVE-2026-126425

CVE.ORG link : CVE-2026-126425


JSON object : View

Products Affected

open-emr

  • openemr
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')