OpenEMR: Stored SQL Injection (CVE-2026-126425)
OpenEMR versions prior to 8.5.0 contain a stored SQL injection vulnerability involving unvalidated History layout field identifiers that allows authenticated users with specific access rights to execute arbitrary SQL functions.
CVE search metadata
CVE search record: CVE-2026-126425. KEV: no. Product: OpenEMR. Brief: OpenEMR: Stored SQL Injection (CVE-2026-126425). Brief link: https://feed.craftedsignal.io/briefs/2026-11-openemr-sql-injection-cve-2026-126425/
Triage facts
Revision 1- Applicability
- OpenEMR
- Evidence
- Unknown
- Severity
- High
- Sources
- 1 public source
- Freshness
- Revision 1Nov 13, 12:27 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A2Roughly even chance
OpenEMR versions before 8.5.0 are affected by a stored SQL injection vulnerability. When history layout field identifiers (including HIS fields and LBF source-H fields) are processed through edit_layout.php and saved via history_save.php, they are inserted into SQL statements without validation.
Impact
Users with 'admin/super' or 'patients/med' write access can trigger the vulnerability to execute SQL functions such as SLEEP, which can be used to tie up database workers or access data beyond their authorized privileges. The CVSS 3.1 base score is 7.2.