CVE-2026-49142
8.8 HIGHpublic exploit availablePublished 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.
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
- https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0
- https://github.com/openemr/openemr/pull/14329
- https://github.com/openemr/openemr/releases/tag/v8_5_0
- https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh
- https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh
All references
- https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0
- https://github.com/openemr/openemr/pull/14329
- https://github.com/openemr/openemr/releases/tag/v8_5_0
- https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh
- https://www.vulncheck.com/advisories/openemr-before-sql-injection-via-form-icd-codes
- https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2025-71456
- HIGHCVE-2026-100365PoC
- CRITICALCVE-2026-103792
- HIGHCVE-2026-105067
- CRITICALCVE-2026-105779
- HIGHCVE-2026-107375PoC
- CRITICALCVE-2026-10757
- HIGHCVE-2026-110895
Related by shared AI tags and CWE weakness class. Browse the full archive.