OpenEMR: Persistent SQL injection in X12 835 ERA file processing (CVE-2026-126460)
OpenEMR versions prior to 8.5.0 contain a persistent SQL injection vulnerability in the SLEOB::slInvoiceNumber() function that allows attackers with billing access to exfiltrate patient health information via crafted X12 835 ERA files.
CVE search metadata
CVE search record: CVE-2026-126460. Severity: high. CVSS: 7.1. KEV: no. Product: OpenEMR. Brief: OpenEMR: Persistent SQL injection in X12 835 ERA file processing (CVE-2026-126460). Brief link: https://feed.craftedsignal.io/briefs/2026-11-openemr-sql-injection-cve-2026-126460/
Triage facts
Revision 1- Applicability
- OpenEMR
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 13, 12:33 UTC
- Detection
- 1 rule
- Vulnerabilities
- 1 CVE
- Source quality
- A1Very likely
OpenEMR versions before 8.5.0 are affected by a persistent SQL injection vulnerability within the SLEOB::slInvoiceNumber() function. The vulnerability arises from the improper handling of the CLP01 claim control number found within uploaded X12 835 ERA files. An attacker with billing write access can supply a crafted .edi file that, when processed, executes time-based SQL injection payloads. This flaw allows for the unauthorized retrieval of sensitive patient health data from the database.
Impact
Successful exploitation allows an authenticated attacker with billing write access to exfiltrate patient health information stored within the OpenEMR database via a time-based SQL injection attack.
Recommendation
- Upgrade OpenEMR to version 8.5.0 or later to remediate CVE-2026-126460.
- Restrict billing write access to authorized personnel only to limit the attack surface for this vulnerability.
- Audit existing X12 835 ERA files stored within the application for potential malicious payloads if unauthorized access is suspected.
Immediate actions
Upgrade OpenEMR to version 8.5.0 or later to patch CVE-2026-126460.
Mitigations
Patch OpenEMR to version 8.5.0
CVE-2026-126460
Detection coverage 1
Detect CVE-2026-126460 Exploitation - Suspicious POST to sl_eob_search.php
mediumDetects potential exploitation attempts of CVE-2026-126460 by monitoring POST requests to the EOB search endpoint which is the entry point for malicious .edi file uploads.
Detection queries are available on the platform. Get full rules →