Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.4

CVE-2026-49142: OpenEMR <8.5.0 lets clinicians alter any database data

CVE-2026-49142 · published 1 month ago
Summary

Versions of OpenEMR older than 8.5.0 let users with clinician rights change the way the system stores information. By sending specially crafted values to a specific web form, they can view and modify any data in the underlying database, including passwords. Upgrade to version 8.5.0 or later, or apply the vendor's patch, and restrict clinician accounts to only the functions they truly need.

What to do
  • Update openemr openemr to version 8.5.0 or later.
  • Update open-emr openemr to version 8.5.0 or later.
Affected software
VendorProductAffected versions
openemr openemr < 8.5.0
open-emr openemr < 8.5.0
cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Original advisory text
OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]
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.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
9.4 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-89SQL Injection
Timeline
Published29 Oct 2026
Updated2 Dec 2026
First seen29 Oct 2026
Sources
CVE-2026-49142 · MITRE
Track software like this
Free during beta