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.
References
| Link | Resource |
|---|---|
| https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0 | Patch |
| https://github.com/openemr/openemr/pull/14329 | Issue Tracking Patch |
| https://github.com/openemr/openemr/releases/tag/v8_5_0 | Product Release Notes |
| https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh | Exploit Vendor Advisory |
| https://www.vulncheck.com/advisories/openemr-before-sql-injection-via-form-icd-codes | Patch Third Party Advisory |
| https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh | Exploit Vendor Advisory |
Configurations
History
10 Nov 2026, 19:01
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Open-emr openemr
Open-emr |
|
| CPE | cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:* | |
| References | () https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0 - Patch | |
| References | () https://github.com/openemr/openemr/pull/14329 - Issue Tracking, Patch | |
| References | () https://github.com/openemr/openemr/releases/tag/v8_5_0 - Product, Release Notes | |
| References | () https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh - Exploit, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/openemr-before-sql-injection-via-form-icd-codes - Patch, Third Party Advisory |
04 Nov 2026, 01:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh - |
29 Oct 2026, 13:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-29 13:17
Updated : 2026-11-10 19:01
NVD link : CVE-2026-49142
Mitre link : CVE-2026-49142
CVE.ORG link : CVE-2026-49142
JSON object : View
Products Affected
open-emr
- openemr
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
