# CVE-2026-126425: OpenEMR before 8.5.0 Stored SQL Injection via History Layout Field Identifiers

- Severity: Medium 4.6 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:H/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-13T09:35:30.379Z
- Modified: 2026-11-17T21:17:37.813Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- openemr openemr: before 8.5.0 (not affected: 8.5.0)
- open-emr openemr: before 8.5.0

## Every score

- VulnCheck: CVSS:4.0 4.6 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:H/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L`

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-fq58-jp5g-x44q> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-sql-injection-via-history-layout-field-identifiers> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-126425](https://www.cve.org/CVERecord?id=CVE-2026-126425), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-126425](https://nvd.nist.gov/vuln/detail/CVE-2026-126425), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-126425 · Whole record: https://cve.day/CVE-2026-126425.json · Rebuilt by cve.day 2026-11-25T22:59:50.654Z
