High severity · published Oct 29, 2026
CVE-2026-49142
OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]
New
8.8
CVSS
–
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OP
openemr · openemr
before 8.5.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-49142
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-49142
github.com
https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0
github.com
https://github.com/openemr/openemr/pull/14329
github.com
https://github.com/openemr/openemr/releases/tag/v8_5_0
github.com
https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh
www.vulncheck.com
https://www.vulncheck.com/advisories/openemr-before-sql-injection-via-form-icd-codes
More from openemr
9.9
CVE-2026-24848
OpenEMR Arbitrary File Write leading to Remote Code Execution
9.8
CVE-2026-24898
OpenEMR has an Unauthenticated MedEx Token Disclosure
9.8
CVE-2024-37734
An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid parameter
9.1
CVE-2026-39932
OpenEMR 8.2.0 Remote Code Execution via CategoryTree eval() Injection
9.1
CVE-2026-32238
OpenEMR has Remote Code Execution in backup functionality
