SQL Injection in Openemr
CVE-2026-49142
OpenEMR before 8.5.0 contains an authenticated SQL injection vulnerability in the Syndromic Surveillance module that allows users with Clinician-level privileges to read and modify arbitrary database contents by submitting crafted values in the form_icd_codes[] POST parameter to the syndromicsurveillance/index endpoint. Attackers can inject an unquoted numeric IN() clause and UNION DISTINCT SELECT statement using hex-encoded literals to abuse MySQL extractvalue() for error-based exfiltration of bcrypt password hashes and execute stacked queries that reset passwords, resulting in full administrative account takeover.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh (vendor-advisory)
- github.com/openemr/openemr/releases/tag/v8_5_0 (release-notes)
- github.com/openemr/openemr/pull/14329 (issue-tracking, patch)
- github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0 (issue-tracking, patch)
- www.vulncheck.com/advisories/openemr-before-sql-injection-via-form-icd-codes (third-party-advisory)
Frequently asked questions
- What is CVE-2026-49142?
- CVE-2026-49142 is a high-severity vulnerability in Openemr, classified under SQL Injection. CVSS score: 8.8/10. Published 2026-10-29.
- How severe is CVE-2026-49142?
- High severity. CVSS v3 base score is 8.8 out of 10.