OpenEMR: SQL injection in billing module (CVE-2026-126482)
OpenEMR before 8.5.0 contains an SQL injection vulnerability in the SLEOB::slInvoiceNumber function, allowing authenticated users with billing permissions or attackers providing malicious ERA files to execute arbitrary SQL queries.
CVE search metadata
CVE search record: CVE-2026-126482. KEV: no. Product: OpenEMR. Brief: OpenEMR: SQL injection in billing module (CVE-2026-126482). Brief link: https://feed.craftedsignal.io/briefs/2026-11-openemr-sql-injection-cve-2026-126482/
Triage facts
Revision 1- Applicability
- OpenEMR
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 13, 12:35 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
OpenEMR versions prior to 8.5.0 are vulnerable to SQL injection within the SLEOB::slInvoiceNumber method located in src/Billing/SLEOB.php. The flaw occurs because the system concatenates the CLP01 claim identifier from uploaded X12 835 ERA files directly into database queries without appropriate escaping or parameter binding. An attacker with billing permissions, or an external party whose malicious ERA file is uploaded by a clerk, can exploit this to perform unauthorized data exfiltration, including the retrieval of password hashes from the users_secure table, or modify database content.
Impact
Successful exploitation allows an attacker to execute arbitrary SQL commands against the OpenEMR database. This could lead to full database compromise, unauthorized access to sensitive medical or administrative data, and potential credential theft via password hash exfiltration.
Recommendation
Upgrade OpenEMR to version 8.5.0 or later to patch the vulnerability. Organizations should review access logs for accounts with billing permissions and monitor for unusual file uploads to the billing module.
Immediate actions
Upgrade OpenEMR to version 8.5.0 or later
Threat Hunt
Review application logs for unusual queries or characters (e.g., symbols often used in SQLi) originating from the billing module and file uploads.
Data: Web server access logs, Application audit logs
Mitigations
Patch OpenEMR to version 8.5.0
CVE-2026-126482