Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Syndromic Surveillance module
-
ExploitSubmit quote-free form_icd_codes[] payload
-
ExecutionBreak out of unquoted numeric IN() clause
-
ImpactExfiltrate PHI via blind/UNION SQLi
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated OpenEMR user (PR:L) who has access to the Syndromic Surveillance Zend module, and that module must be enabled - the advisory explicitly states this module is non-default, so unconfigured instances are not exploitable. Given those prerequisites, exploitation itself is low-complexity (AC:L): the attacker POSTs form_new_search=1 with a quote-free form_icd_codes[] payload to the syndromicsurveillance endpoint, requiring no user interaction and no quoting (numeric IN() context defeats add_escape_custom). Limiting factors: valid session/authentication, module-enabled configuration, and access to that specific report; these narrow the exploitable population but do not raise attack difficulty. |
| Impact | This is a genuine but second-tier priority. The CVSS 4.0 base score is 7.2 (High) with vector AV:N/AC:L/AT:N/PR:L/UI:N and VC:H, meaning it is network-reachable, low-complexity, and leaks confidential data (PHI) to an authenticated attacker - but PR:L confirms authentication is required, which meaningfully narrows the attacker population to users who already hold a valid OpenEMR session with access to the Syndromic Surveillance module. No EPSS score and no KEV listing were provided, so there is no signal of widespread or active exploitation; the exploitation evidence is a vendor-authored Proof of Concept embedded in the GHSA advisory, not confirmed in-the-wild activity. The vuln.today decision label is 'this_week', consistent with a serious patchable flaw that is not an emergency. Contrast of signals: the SQLi is well-documented and mechanically clear (unquoted numeric IN() clause, add_escape_custom no-op for quote-free payloads), which raises confidence it is real and reliably exploitable; but the required precondition - the Syndromic Surveillance Zend module being enabled, which the advisory states is non-default - plus the authentication requirement keeps real-world blast radius below what a 7.2 might suggest for a default-config remote bug. No EPSS data is available, so probabilistic exploitation likelihood cannot be stated. |
| Exploit ScenarioDerived | An authenticated OpenEMR user with access to the Syndromic Surveillance module opens the report search and submits form_new_search=1 with a crafted form_icd_codes[] value such as '1) OR SLEEP(5)-- -'. Because the array is imploded directly into an unquoted numeric IN() clause and add_escape_custom does nothing to quote-free input, the payload breaks out of the clause and executes attacker SQL, enabling blind or UNION-based extraction of patient health information. A concrete Proof of Concept with this exact payload is published in the vendor GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
SQL injection in OpenEMR's Syndromic Surveillance report, affecting all versions before 8.5.0, lets an authenticated user with access to that module submit a quote-free payload through the form_icd_codes[] POST array and read patient health information from the database. Exploitation requires a valid session and the non-default Syndromic Surveillance Zend module to be enabled, but given those prerequisites the attack is low-complexity and needs no user interaction; a proof-of-concept payload is published in the project's GitHub security advisory, though it is not independently verified as working exploit code. No confirmed active exploitation (CISA KEV) has been reported, the vendor has released 8.5.0 with the fix, and this is a genuine but second-tier priority.
RemediationAI
Vendor-released patch: upgrade OpenEMR to 8.5.0, which resolves the injection by casting each form_icd_codes element to integer or binding the IN() values as ? placeholders, per the GitHub advisory at https://github.com/openemr/openemr/security/advisories/GHSA-q6f8-4pm7-q39r (also tracked as EUVD-2026-124946 and covered by the VulnCheck advisory linked in the CVE record). If the upgrade cannot be scheduled immediately, disable the Syndromic Surveillance Zend module entirely - the vulnerable controller and model are only reachable when that module is enabled, so disabling it removes the attack surface, at the cost of losing syndromic surveillance reporting until the upgrade is applied. As a second compensating control, restrict access to the syndromicsurveillance endpoint and the report UI to the minimum set of trusted, authenticated users, since exploitation requires a valid session with access to that module; this narrows the attacker population but does not remove the flaw. Prioritize internet- or broadly accessible deployments where the module is enabled and where the database account holds read access to patient data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic CWE-89 numeric-context injection in a PHP/Zend-module component of OpenEMR's clinical reporting stack. SyndromicsurveillanceController.php:54 reads the attacker-controlled POST array form_icd_codes and passes it unchanged to the model, which builds an unquoted numeric IN() list by implode()-ing the array elements into a UNION query at SyndromicsurveillanceTable.php:112 and again at :126. The developer's escaping helper, add_escape_custom, wraps mysqli_real_escape_string, which only neutralizes quotes, backslashes and control bytes - for a quote-free payload landing in an unquoted numeric IN() it is a no-op. There is no intval, is_numeric or ctype_digit validation, in contrast to the ?-bound provider_id and date parameters in the same function. The injected expression therefore becomes part of the executed SQL and is run through the model's fetch_result, permitting blind or UNION-based extraction of PHI. The code is identical on the v8_2_0 release tag and 8.3.0-dev HEAD, and the vulnerability is distinct from the Immunization-module SQLi tracked as CVE-2026-23627 (different module, different sink). Successful exploitation is bounded by authentication and by the requirement that the non-default Syndromic Surveillance Zend module be enabled; unconfigured instances are not exposed.
Know when Openemr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable authenticated SQLi with no user interaction gives AV:N/AC:L/PR:L/UI:N; the module precondition narrows population not complexity, and PHI exfiltration with limited write/DoS impact yields C:H/I:L/A:L.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
Evidence base: GitHub Security Advisory GHSA-q6f8-4pm7-q39r (published 2026-10-28).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity SQL injection vulnerability in OpenEMR's Syndromic Surveillance module (CVE-2026-126478) allows authenticated users to access patient health information. Although exploitation requires a valid session and a non-default module, the potential for data breaches and regulatory violations makes this a priority for healthcare organizations. Leadership should ensure timely patching to mitigate risk.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to
Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.
Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.
Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the
SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the
OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl
An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par
Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.
Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so
interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel
Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms
interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication
EUVD-2026-124946
GHSA-6cmh-r3gq-p642
NVD
CVE.org
EPSS
VulDB
Exploit-DB