← Back to search

CVE-2026-49142

8.8 HIGHpublic exploit available

Published 2026-10-29 · Updated 2026-11-04

AI risk analysis

Summary
OpenEMR before 8.5.0 has an authenticated SQL injection flaw in its Syndromic Surveillance module where users with Clinician-level privileges can inject malicious SQL via the form_icd_codes[] POST parameter to read or modify arbitrary database contents, including extracting password hashes and resetting admin credentials.
Exploitability
Exploitation requires valid Clinician-level credentials but no user interaction or complex conditions; public exploits exist.
Blast radius
Successful exploitation enables full administrative takeover of the OpenEMR instance, leading to confidentiality, integrity, and availability impacts including data exfiltration and account hijacking.
Detection
Look for POST requests to /interface/syndromicsurveillance/index with the form_icd_codes[] parameter containing SQL keywords (e.g., UNION, SELECT), extractvalue() function calls, or hex-encoded literals in web server access logs; also monitor for unexpected password reset events or bcrypt hash retrieval attempts in application logs.
Prioritized remediation
Upgrade to OpenEMR 8.5.0 or later, which patches this vulnerability.
sql-injectionauth-bypasswebprivilege-escalationopenemr

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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

Weaknesses

CWE-89

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.