CVE-2026-126478 — Openemr
HIGHCVE-2026-126478 is a high-severity (CVSS 7.6) SQL Injection vulnerability in openemr openemr. A fix is available — see the affected versions and patch details below.
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()…
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Description
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.
Affected Products
openemropenemrDetection & mitigation playbook
Vendor / applianceDetect
Inventory every openemr openemr deployment and check each version against the affected-products list above.
Fix
Apply the openemr openemr security patch or hotfix for CVE-2026-126478 on the affected version, following the vendor advisory for your exact build.
Workarounds
Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-126478 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.