Vulnerability · Published Oct 29, 2026 · Assigned by VulnCheck
CVE-2026-49142OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]
High 8.8
In plain English
A high-severity SQL injection in openemr from openemr. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities).
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.
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- GitHub Security Advisory (GHSA-w99c-jwcm-24hh) vendor-advisory
- Release Notes release-notes
- Pull Request issue-tracking, patch
- Patch Commit patch, issue-tracking
- VulnCheck Advisory: OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[] third-party-advisory