Skip to main content

OpenEMR EUVDEUVD-2026-124952

| CVE-2026-126472 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-13 VulnCheck GHSA-wwcf-fq8w-6877
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege staff account
  2. Delivery
    Capture own session CSRF token
  3. Exploit
    Request ccda_gateway.php?action=view/dl with chosen pid
  4. Execution
    Loop over sequential pid values
  5. Impact
    Exfiltrate other patients' C-CDA PHI

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires three concrete preconditions, all stated in the advisory: (1) the OpenEMR global 'ccda_alt_service_enable' must be set to 1 or 3 to activate the C-CDA alternate service - this is NON-default (default '0' = Off), which materially limits exposure to sites that enabled C-CDA for Care Coordination/dashboard; (2) any authenticated core staff session, including low-privilege roles with no patients/pat_rep clinical ACL (front-desk or billing suffices); and (3) a valid csrf_token_form, which the attacker self-mints from their own authenticated session (present on any logged-in page) and is therefore not a real barrier. The primary limiting factors are the non-default service-enable global and the requirement for valid staff credentials (PR:L); there is no user-interaction or victim-side requirement. Where the service is enabled, no additional clinical ACL is needed, so exploitation against enabled configurations is straightforward.

Impact

This is a genuine, actionable priority but not a drop-everything emergency, and the signals are mostly consistent. The CVSS 4.0 vector is network-exploitable with low attack complexity and no user interaction, but it requires low privileges (PR:L) - exploitation is gated behind a valid staff session, so this is an insider/compromised-account threat rather than an internet-facing unauthenticated one. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with the absence of a CISA KEV listing and no EPSS score in the provided data. No active exploitation is confirmed. However, the flaw is highly automatable: patient ids are sequential auto-increment integers, so a single low-privilege account can enumerate and bulk-exfiltrate every patient's C-CDA (medications, problems, allergies, immunizations, results, procedures) - a mass-PHI/HIPAA exposure that raises real-world urgency above what the privilege requirement alone suggests. One conflict must be flagged: the input CVSS 4.0 vector asserts VI:H/VA:H (high integrity and availability impact), but the description and the vendor advisory describe a read-only cross-patient disclosure with no write or denial capability - the advisory's own score is CVSS:4.0 .../VC:H/VI:N/VA:N = 7.1. The 8.7 input score therefore appears to over-state integrity/availability impact; treat this as a confidentiality-only issue. A public PoC reference exists in the GHSA advisory (full step-by-step reproduction); it is not verified as working standalone exploit code.

Exploit ScenarioDerived

A disgruntled or compromised front-desk/billing employee - an account intentionally given no patients/pat_rep clinical ACL - logs in, grabs the CSRF token present on any authenticated page, and requests ccdaservice/ccda_gateway.php?action=view&pid=1, then 2, 3, and so on. Each request returns another patient's full C-CDA, letting the attacker script a loop over sequential pids to dump the entire practice's PHI. The GHSA advisory includes detailed reproduction steps (a public PoC reference, not verified as a packaged working exploit), and with AV:N/AC:L the requests are trivial once authenticated.

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

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

Alert me

AnalysisAIv1 – Nov 13, 2026

Cross-patient disclosure of complete C-CDA clinical documents in OpenEMR before 8.5.0 allows any authenticated staff account - including front-desk or billing users that hold no patients/pat_rep clinical ACL - to read other patients' medications, problems, allergies, immunizations, results and procedures by requesting ccdaservice/ccda_gateway.php with sequential pid values (action=view or action=dl). The endpoint verifies only that some staff session exists and that a self-mintable CSRF token is present, but never authorizes the specific patient identifier, so the sequential pid becomes a direct object reference into every record in the practice. The upstream advisory publishes a public proof-of-concept walkthrough validated in a test environment, but there is no CISA KEV listing and no confirmed active exploitation; real-world exposure is narrowed by the non-default ccda_alt_service_enable global (default '0'), which must be set to 1 or 3 for the gateway to serve documents.

RemediationAI

Vendor-released patch: OpenEMR 8.5.0 - upgrade from any pre-8.5.0 release, per advisory GHSA-6fxw-69cq-m7g6 (https://github.com/openemr/openemr/security/advisories/GHSA-6fxw-69cq-m7g6). The fix applies the authorization the sibling report entry point already enforces, adding an AclMain::aclCheckCore('patients', 'pat_rep') gate before the action dispatch in ccdaservice/ccda_gateway.php and binding the pid to the acting session's patient context; sites that patch in place should ensure that check is present and should not rely on the report_ccd_view '/interface/login_screen.php' content-sniff, which is not an authorization control. If upgrading immediately is not possible, the advisory's workaround is to set ccda_alt_service_enable to '0' when C-CDA generation is not required - the trade-off is that Care Coordination and dashboard C-CDA generation stop working - or to restrict access to ccdaservice/ccda_gateway.php at the web server or reverse-proxy layer so that only users holding patients/pat_rep can reach it, which requires per-role request filtering and may break legitimate C-CDA downloads for authorized staff if the rules are too broad. Restricting or disabling the feature also removes the enumeration vector for sequential pid values that makes bulk PHI harvesting practical.

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

OpenEMR is a PHP electronic health record application whose record-level security is enforced through AclMain::aclCheckCore() permission checks (for example the 'patients'/'pat_rep' pair used by interface/patient_file/report/patient_report.php) plus CsrfUtils::checkCsrfInput() for request forgery protection. The affected file, ccdaservice/ccda_gateway.php, implements only the authentication half: it reads $session->get('authUserID') and bails out when empty, then checks the CSRF token, and from there takes $_REQUEST['action'] and the pid from the request; because a fresh session carries no pid, interface/globals.php stores the attacker-supplied value, which is consumed by the 'view' branch (generateCCDHtml($pid)) and the 'dl' branch (zip download), with src/Services/CDADocumentService.php passing the same pid straight into generateCCDXml() without any ownership or ACL verification. That maps to CWE-639 (Authorization Bypass Through User-Controlled Key) with CWE-862 (Missing Authorization) as the root cause: the code authenticates but does not authorize, turning a gateway into an un-ACL'd back door to data whose intended entry point is permission-gated. Additional preconditions are the ccda_alt_service_enable global being 1 or 3 (checked via isServiceEnabled()) and a valid csrf_token_form, which the attacker mints from their own logged-in session and which therefore provides no real barrier. Note that the published CVSS 4.0 vector inflates impact with integrity and availability components; the validated behaviour is confidentiality-only (VC:H with VI:N/VA:N), consistent with a read-only disclosure flaw, and the content-sniff for '/interface/login_screen.php' in the report_ccd_view branch is not an authorization control.

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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable endpoint, low complexity, requires a low-privilege authenticated staff session (PR:L); read-only cross-patient PHI disclosure gives C:H with no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/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
High
Vulnerable system: Availability
High
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 8.7

DescriptionCVE.org

OpenEMR before 8.5.0 contains a missing authorization vulnerability in ccdaservice/ccda_gateway.php that allows any authenticated low-privilege staff user to retrieve other patients' C-CDA documents. Attackers can request the view or dl action with sequential pid values and their own CSRF token to enumerate and exfiltrate medications, problems, allergies, and immunizations.

Technical POC Analysis

CWE-639 (Authorization Bypass Through User-Controlled Key), also described in the advisory as CWE-862, in ccdaservice/ccdagateway.php.

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

CVE-2026-126472 in OpenEMR before 8.5.0 allows any authenticated staff account-regardless of clinical role-to access and download complete C-CDA clinical documents for any patient by sequentially iterating patient IDs. This exposes sensitive data such as medications, problems, allergies, immunizations, results, and procedures across the entire patient population, creating a significant privacy and compliance risk, though exploitation requires the non-default ccda_alt_service_enable setting to be enabled.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 61% exploitable
Prevalence
Medium
most popular open-source EHR, but healthcare-only deployment footprint
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.4%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

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