Read the docs

SQL injection in OpenEMR Syndromic Surveillance report

Priority LOW 31CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
SQL injection
Confidentiality · integrity · availability
High · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.

Summary

OpenEMR before 8.5.0 contains an SQL injection flaw in the Syndromic Surveillance report, where the form_icd_codes[] POST array is placed into a numeric IN() clause without integer validation (CWE-89). An authenticated user can submit quote-free payloads that bypass the escaping routine and run blind or UNION-based injection to read patient health information. A public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

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.

Why it matters now

EPSS 0.00297 22nd percentileScored 2026-11-16
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed openemr (openemr): 8.5.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
openemropenemrbefore 8.5.08.5.0Patch availableCNA
  • openemr Vendoropenemr Affected before 8.5.0 Fixed in 8.5.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*before 8.5.0VulnerableOpen-Emr
  • cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:* Versions before 8.5.0 Vulnerable ·Open-Emr

Remediation

OpenEMR users should upgrade to version 8.5.0, which fixes the flaw. The sources list no fixed version for other OpenEMR releases.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA openemr (openemr) Fixed in 8.5.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    openemr 8.5.0

    77 records Highest priority Priority HIGH 4 HIGH, 16 MEDIUM, 57 LOW

    Other records, highest priority first

    • TI-2026-91361 Missing authorization in OpenEMR custom export and chart-tracker scriptsPriority HIGH 73
    • TI-2026-91381 Second-order SQL injection in OpenEMR IPPF contraceptive issue featurePriority HIGH 72
    • TI-2026-91321 Unrestricted file upload in OpenEMR lets billing users execute PHPPriority HIGH 69

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-126478
  2. 2026-11-13 Alias added: GHSA-6cmh-r3gq-p642
  3. 2026-11-16 CVSS score added · NVD

References

  • TI-2026-91365 OpenEMR OAuth scope flaw exposes FHIR Patient records to attackers CVSS 4.0CRITICAL 9.3
  • TI-2026-86808 Token replay and PIN brute force in OpenEMR one-time authentication CVSS 4.0CRITICAL 9.3
  • TI-2026-24664 SQL Injection Vulnerability in ajax graphs library (OpenEMR) CVSS 3.1HIGH 8.8
  • TI-2026-85645 Missing access checks in OpenEMR let users reassign documents CVSS 3.1CRITICAL 9.6
  • TI-2026-28796 OpenEMR 8.2.0 Remote Code Execution via CategoryTree eval() Injection CVSS 4.0CRITICAL 9.4
  • TI-2026-20308 OpenEMR's payments gateway_api_key secret rendered into client JS code CVSS 3.1CRITICAL 9.6
See all 277 →

Sources