OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]
Impact
OpenEMR before 8.5.0 has a SQL injection vulnerability in the Syndromic Surveillance module, allowing Clinician-level users to modify database contents by submitting crafted values. Attackers can inject malicious SQL code to extract bcrypt password hashes and reset passwords. This vulnerability requires authenticated access with Clinician-level privileges.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
openemr · VulnCheck
openemr
1 range
openemr · VulnCheck
openemr
Package identity
pkg:github/openemr/openemrIdentity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → before 8.5.0
semver versions
Other versions: unaffected
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-49142View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.