CVE-2026-126478

OpenEMR before 8.5.0 SQL Injection via form_icd_codes in Syndromic Surveillance

Published Nov 13, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in OpenEMR's Syndromic Surveillance feature allows an authenticated user to send specially crafted values in the form_icd_codes[] POST parameter. These values are concatenated directly into an unquoted numeric IN() SQL clause without integer validation, enabling blind or UNION‑based injection. Successful exploitation permits exfiltration of patient health information, compromising confidentiality of PHI. The flaw is classified under CWE‑89 and carries a CVSS score of 7.2, indicating a high impact for those with valid credentials.

Affected Systems

OpenEMR version 8.x before 8.5.0 is affected. Administrators should verify if their installation is any 8.4 or earlier release of OpenEMR, as the product portal indicates that the vulnerability exists in all iterations prior to the 8.5.0 update.

Risk and Exploitability

The CVSS score of 7.2 reflects significant risk for information disclosure, while the EPSS score of less than 1% suggests very low exploitation probability at present. The feature requires authenticated access, so attackers would need valid user credentials or compromised accounts to submit the payload. The vulnerability is not listed in the CISA KEV catalog, implying no known widespread active exploit. Attackers would likely target the Syndromic Surveillance report page via a web browser or automated POST requests, inserting malicious payloads that bypass add_escape_custom and trigger the injection.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.5.0 or later to apply the vendor fix.
  • Restrict access to the Syndromic Surveillance report to only those users that require it, reducing the pool of potential attackers.
  • Implement strict integer validation on the form_icd_codes[] input before constructing SQL queries to eliminate the injection path.

Generated by OpenCVE AI on November 14, 2026 at 16:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title OpenEMR before 8.5.0 SQL Injection via form_icd_codes in Syndromic Surveillance
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-89
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L'}

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 17, 2026, 8:41 PM
Reserved
Nov 10, 2026, 9:42 PM
Status
Analyzed
Published
Nov 13, 2026, 10:17 AM
Modified
Nov 17, 2026, 9:17 PM