{"id":"CVE-2026-49142","published":"2026-10-29T12:37:16Z","modified":"2026-11-08T14:04:50Z","title":"OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]","vendor":"openemr","product":"openemr","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00334,"percentile":0.27389,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh","tags":["vendor-advisory"]},{"url":"https://github.com/openemr/openemr/releases/tag/v8_5_0","tags":["release-notes"]},{"url":"https://github.com/openemr/openemr/pull/14329","tags":["issue-tracking","patch"]},{"url":"https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0","tags":["patch","issue-tracking"]},{"url":"https://www.vulncheck.com/advisories/openemr-before-sql-injection-via-form-icd-codes","tags":["third-party-advisory"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":5.48},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"openemr","affectedVersions":[{"vendor":"openemr","product":"openemr","versions":["< 8.5.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-11-04T01:10:19.319355Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-112788","exploited":false,"provenance":"source"}}