Skip to main content

OpenEMR EUVDEUVD-2026-124946

| CVE-2026-126478 HIGH
SQL Injection (CWE-89)
2026-11-13 VulnCheck GHSA-6cmh-r3gq-p642
7.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Syndromic Surveillance module
  2. Exploit
    Submit quote-free form_icd_codes[] payload
  3. Execution
    Break out of unquoted numeric IN() clause
  4. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

OpenEMR 0 <8.5.0

Affected Packages

euvd openemr fix: 8.5.0

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

Vendor (VulnCheck) PRIMARY 7.2 HIGH
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
vuln.today AI 7.6 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 10:02 EUVD
CVE Published
Nov 13, 2026 - 09:34 cve.org
HIGH 7.2

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Medium
most popular open-source EHR, but healthcare-sector-specific deployment footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2013-10044 HIGH POC
8.7 Aug 01

An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to

CVE-2026-24898 CRITICAL POC
10.0 Mar 03

Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.

CVE-2026-24848 CRITICAL POC
9.9 Mar 03

Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.

CVE-2026-24849 CRITICAL POC
9.9 Feb 25

Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the

CVE-2026-24908 CRITICAL POC
9.9 Feb 25

SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the

CVE-2024-22611 CRITICAL POC
9.8 Apr 03

OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl

CVE-2024-37734 CRITICAL POC
9.8 Jun 26

An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par

CVE-2026-25146 CRITICAL POC
9.6 Mar 03

Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.

CVE-2026-39932 CRITICAL POC
9.4 Aug 03

Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so

CVE-2012-0992 HIGH POC
8.5 Feb 07

interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel

CVE-2026-124450 CRITICAL POC
9.3 Nov 08

Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms

CVE-2015-4453 MEDIUM
5.0 Jul 05

interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy