{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"openemr/openemr","product":"openemr","source":"CNA: VulnCheck","vendor":"openemr","versions":[{"lessThan":"8.5.0","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-49142","cwes":["CWE-89"],"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.","epss":{"date":"2026-11-03","percentile":0.29285,"score":0.00355},"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh"}],"kev":null,"metrics":[{"score":8.7,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"score":8.8,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1793754640728,"publishedAt":1793277436791,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/openemr/openemr/releases/tag/v8_5_0"},{"source":"CNA: VulnCheck","tags":["issue-tracking","patch"],"url":"https://github.com/openemr/openemr/pull/14329"},{"source":"CNA: VulnCheck","tags":["patch","issue-tracking"],"url":"https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/openemr-before-sql-injection-via-form-icd-codes"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/openemr/openemr/pull/14329"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0"}],"revision":"4de83e5d9d4b4a5f8da3949822935d4dd5eb4c0bfd56d44063629b1d43d3d329","sources":[{"modifiedAt":1793754640728,"name":"CNA: VulnCheck","retrievedAt":1793758161204,"url":"https://www.cve.org/CVERecord?id=CVE-2026-49142"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1793758169796,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-49142"}],"ssvc":{"assessedAt":1793754619319,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]","updatedAt":1793758169796}