CVE-2026-49142 OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-49142?
CVE-2026-49142 is a high-severity vulnerability in openemr, published on 29 Oct 2026.
Official description
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.
Weakness: CWE-89
Which versions are affected by CVE-2026-49142?
How do I fix CVE-2026-49142?
No fix has been published for CVE-2026-49142 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-49142 being exploited?
There is no known exploitation of CVE-2026-49142 in the wild and no public exploit code.
Sources
Also known as GHSA-4x43-68v3-4x7c, GHSA-w99c-jwcm-24hh.