Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.4
CVE-2026-49142: OpenEMR <8.5.0 lets clinicians alter any database data
CVE-2026-49142 · published 1 month ago
Summary
Versions of OpenEMR older than 8.5.0 let users with clinician rights change the way the system stores information. By sending specially crafted values to a specific web form, they can view and modify any data in the underlying database, including passwords. Upgrade to version 8.5.0 or later, or apply the vendor's patch, and restrict clinician accounts to only the functions they truly need.
What to do
- Update openemr openemr to version 8.5.0 or later.
- Update open-emr openemr to version 8.5.0 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| openemr | openemr | < 8.5.0 |
| open-emr | openemr |
< 8.5.0 cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:* |
Original advisory text
OpenEMR Before 8.5.0 SQL Injection via form_icd_codes[]
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.
References
- https://github.com/openemr/openemr/security/advisories/GHSA-w99c-jwcm-24hh Vendor Advisory
- https://github.com/openemr/openemr/commit/9b52cc0fc3a4eddd9fa7a096f6a3ac2a57d772... Patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49142... Vendor Advisory
- https://github.com/openemr/openemr Product
- https://github.com/openemr/openemr/releases/tag/v8_5_0 Vendor Advisory
- https://www.vulncheck.com/advisories/openemr-before-sql-injection-via-form-icd-c... Vendor Advisory
- https://github.com/openemr/openemr/pull/14329 Patch
- https://nvd.nist.gov/vuln/detail/CVE-2026-49142 Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Severity
9.4
Critical
Type
CWE-89SQL Injection
Timeline
Published29 Oct 2026
Updated2 Dec 2026
First seen29 Oct 2026
Track software like this
Free during beta