Skip to main content
← All vulnerabilities
CVE-2026-49142EUVD-2026-112788GHSA-4X43-68V3-4X7C

OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.5.0
None on Exploit-DB, Metasploit or GitHub

Summary

OpenEMR, an open-source electronic health records application, is affected before version 8.5.0. A user with Clinician-level login access can exploit a flaw in its Syndromic Surveillance module to read and change data in the underlying database, including password hashes, potentially allowing takeover of administrator accounts.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • openemr openemr

    fixed in 8.5.0

References 5

GitHub · openemr/openemr

vulncheck.com