{"id":"CVE-2026-49142","aliases":["GHSA-w99c-jwcm-24hh"],"url":"https://o3.security/vulnerability/CVE-2026-49142","summary":"OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]","details":"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.","published":"2026-10-29T12:37:16.791Z","modified":"2026-10-30T02:47:21.743643503Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0","label":"openemr/openemr@9b52cc0"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49142.json"},{"type":"PACKAGE","url":"https://github.com/openemr/openemr"},{"type":"FIX","url":"https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0"},{"type":"FIX","url":"https://github.com/openemr/openemr/pull/14329"},{"type":"ADVISORY","url":"https://github.com/openemr/openemr/releases/tag/v8_5_0"},{"type":"ADVISORY","url":"https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49142"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openemr-before-sql-injection-via-form-icd-codes"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-30T02:47:21.743643503Z"}}