CVE-2026-49142

published 29 Oct 2026 · updated 10 Nov 2026

OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]

9.8CriticalCVSS 8.8EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 8.5.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
open-emropenemr<8.5.08.5.0
openemr<8.5.08.5.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-49142 severity on Zeptric[![CVE-2026-49142](https://zeptric.io/badge/cve/CVE-2026-49142.svg)](https://zeptric.io/cve/CVE-2026-49142)