CVE-2026-126478
OpenEMR before 8.5.0 contains an SQL injection vulnerability in the Syndromic Surveillance report because the form_icd_codes[] POST array is concatenated into …
Impact
OpenEMR before 8.5.0 contains an SQL injection vulnerability in the Syndromic Surveillance report because the form_icd_codes[] POST array is concatenated into an unquoted numeric IN() clause without integer validation. Authenticated users can submit quote-free payloads that bypass add_escape_custom to perform blind or UNION-based injection and exfiltrate patient health information.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, low risk of data or systems being changed, low risk of outages.
Affected products · Openemr
| Product | Affected versions |
|---|---|
| Openemr | before 8.5.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/openemr/openemr/security/advisories/GHSA-q6f8-4pm7-q39r
- https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-form-icd-codes-in-syndromic-surveillance
- https://github.com/advisories/GHSA-6cmh-r3gq-p642
- https://nvd.nist.gov/vuln/detail/CVE-2026-126478