CVE-2026-126425 OpenEMR before 8.5.0 Stored SQL Injection via History Layout Field Identifiers
MediumCVSS 4.6
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHP
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| open-emr openemr | < 8.5.0 | 8.5.0 | Fixed |
| openemr | < 8.5.0 | 8.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| open-emr openemr | < 8.5.0 | 8.5.0 |
| openemr | < 8.5.0 | 8.5.0 |
References
- GitHub Security Advisory (GHSA-fq58-jp5g-x44q) exploit vendor-advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 Stored SQL Injection via History Layout Field Identifiers third-party-advisory
- ENISA EUVD EUVD-2026-125018 third-party-advisory