CVE-2026-49142
OpenEMR before 8.5.0 contains an authenticated SQL injection …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772d0
- github.com/openemr/openemr/pull/14329
- github.com/openemr/openemr/releases/tag/v8_5_0
- github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh
- www.vulncheck.com/advisories/openemr-before-sql-injection-via-form-icd-codes
- nvd.nist.gov/vuln/detail/CVE-2026-49142
- cve.org/CVERecord?id=CVE-2026-49142
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.