# CVE-2026-49142: OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-29T12:37:16.791Z
- Modified: 2026-11-10T19:01:42.823Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- openemr openemr: before 8.5.0
- open-emr openemr: before 8.5.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh> (exploit, vendor-advisory)
- <https://github.com/openemr/openemr/releases/tag/v8_5_0> (product, release-notes)
- <https://github.com/openemr/openemr/pull/14329> (issue-tracking, patch)
- <https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0> (issue-tracking, patch)
- <https://www.vulncheck.com/advisories/openemr-before-sql-injection-via-form-icd-codes> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2026-49142](https://www.cve.org/CVERecord?id=CVE-2026-49142), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-49142](https://nvd.nist.gov/vuln/detail/CVE-2026-49142), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-49142 · Whole record: https://cve.day/CVE-2026-49142.json · Rebuilt by cve.day 2026-11-25T22:59:47.742Z
