CVE-2026-49142
published high CVSS 4.0 · 8.7OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| openemr | — | openemr0 to < 8.5.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openemr | openemr | 0 to < 8.5.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
5- Patch Commit https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0
- Pull Request https://github.com/openemr/openemr/pull/14329
- openemr 8_5_0 Release Notes https://github.com/openemr/openemr/releases/tag/v8_5_0
- GitHub Security Advisory (GHSA-w99c-jwcm-24hh) https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh
- VulnCheck Advisory: OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[] https://www.vulncheck.com/advisories/openemr-before-sql-injection-via-form-icd-codes
Provider assertions
2VulnCheck · cna
OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 20f51807406e97bfa2ad1e9a04a7206608c7b6762b7000738f0225bd787dd974
- Ingested
- 08 Nov 2026, 14:13:57 UTC
- Source record
- Official CVE record