---
id: "CVE-2026-126478"
page: "https://infrastack.ai/live/CVE-2026-126478"
kind: "vulnerability"
aliases: ["CVE-2026-126478"]
title: "OpenEMR: SQL injection in Syndromic Surveillance report exposes patient records"
severity: "high"
cvss: 7.6
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "other", "php", "self-hosted"]
not_affected_if: ["no-syndromic-surveillance-report", "version-8.5.0-or-later"]
published_at: "2026-11-13T10:17:57+00:00"
first_seen_at: "2026-11-13T10:47:25+00:00"
updated_at: "2026-11-13T10:52:40+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126478", "first_seen_at": "2026-11-13T10:47:25+00:00"}]
exploit_sources: []
---

# OpenEMR: SQL injection in Syndromic Surveillance report exposes patient records

Link for people: https://infrastack.ai/live/CVE-2026-126478 (this .md is for agents)

OpenEMR before 8.5.0 concatenates the form_icd_codes[] POST array into an unquoted numeric IN() clause without integer validation in the Syndromic Surveillance report. An authenticated user can send quote-free payloads to run blind or UNION-based SQL injection and extract patient health information.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed OpenEMR version in the application footer or `version.php` and compare it with the fixed range.
- Confirm whether the Syndromic Surveillance report is in use on the deployment.

## Fix

- OpenEMR: move to `8.5.0` or later (the fixed version named in the NVD range for this CVE).

## Timeline

- 2026-11-13T10:47:25+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126478

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-q6f8-4pm7-q39r
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-form-icd-codes-in-syndromic-surveillance

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
