Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege core user
-
DeliverySelect target patient PID into session
-
ExploitObtain valid session CSRF token
-
ExecutionRequest ccda_gateway.php report_ccd_view action
-
ImpactExfiltrate full patient C-CDA clinical summary
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires ALL of the following: (1) the deployment has alternate C-CDA generation enabled for the clinical dashboard - in the validated case ccda_alt_service_enable=3 - which is a non-default feature setting and is the AT:P requirement; (2) the attacker holds any authenticated core OpenEMR session WITHOUT the patients/pat_rep permission (so an insider or a compromised low-privilege staff account, consistent with PR:L); (3) a valid session CSRF token obtained from an authenticated page; and (4) a known numeric patient PID selected in the session. Limiting factors that reduce real-world risk: authentication is mandatory (no unauthenticated/anonymous path), the alternate C-CDA service must be explicitly enabled, portal sessions are unaffected (the portal branch is bound to the portal patient's own PID), and impact is confidentiality-only (no data modification or denial of service). The vendor states the complete fix is to require patients/pat_rep in the core-session branch and re-apply patient/squad/sensitivity authorization; updating to 8.5.0 is the remediation given. |
| Impact | This is a genuine but mid-tier priority, not a drop-everything emergency. The CVSS 4.0 base score is 6.0 (medium) and the vector tells a consistent story: AV:N (reachable over the network), AC:L, but AT:P and PR:L - meaning exploitation requires an already-authenticated low-privilege core account AND a specific deployment prerequisite (the alternate C-CDA service enabled). Impact is confidentiality-only (VC:H, VI:N, VA:N), which fits a missing-authorization read of clinical data (CWE-862). The vuln.today Decision label is 'this_month' - elevated but below act_now/emergency - so the appropriate posture is scheduled remediation within the month rather than crisis patching. Key signals are MISSING rather than conflicting: no CISA KEV entry is present (exploitation status is therefore not 'actively exploited'), and no EPSS probability was supplied, so widespread automated exploitation cannot be inferred. The GHSA advisory includes full HTTP reproduction steps, so a public PoC reference exists, though the input does not confirm packaged, weaponized exploit code. The real-world driver of risk here is impact quality, not ease: a successful request returns a complete longitudinal C-CDA (diagnoses, medications, allergies, labs, identifiers, demographics) for an arbitrary selected patient, which is a serious PHI/HIPAA exposure. Net: a credible insider/compromised-account threat against healthcare deployments that have the alternate C-CDA feature enabled, but gated by authentication and a non-default configuration. |
| Exploit ScenarioDerived | A low-privilege OpenEMR core user (or an attacker using stolen staff credentials) who has NOT been granted the patients/pat_rep permission selects a target patient and calls ccda_gateway.php?action=report_ccd_view directly with a valid session CSRF token, receiving the patient's full rendered Summary of Care even though the normal Patient Report page returns HTTP 403. The vendor's GHSA advisory documents this end-to-end with working HTTP requests (validated on v8.4.1 with ccda_alt_service_enable=3), so a public PoC reference exists, though the input does not confirm it as packaged working exploit code. Exploitation is a single authenticated network request against deployments where alternate C-CDA generation is enabled. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
An authorization bypass in OpenEMR's C-CDA gateway (ccdaservice/ccda_gateway.php) lets any authenticated core session retrieve a selected patient's full Summary of Care - diagnoses, medications, allergies, lab results, encounters, and identifiers - without holding the patients/pat_rep permission that the ordinary Patient Report page requires. Exploitation is constrained to deployments that have enabled alternate C-CDA generation for the clinical dashboard (validated with ccda_alt_service_enable=3), requires a valid session CSRF token and a known numeric patient PID, and is confidentiality-only (CVSS 3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N). There is no confirmed active exploitation (not in CISA KEV), and while the vendor advisory publishes step-by-step reproduction requests, no independently verified working exploit code is referenced; vendor-released patch: 8.5.0.
RemediationAI
Upgrade to OpenEMR 8.5.0, which the vendor ships as the complete fix: the core-session branch of ccda_gateway.php now requires patients/pat_rep before dispatching any action and resolves the selected patient through the same patient, squad, and sensitivity authorization policy used by the protected report workflow, while the portal branch remains bound to the authenticated portal patient's PID and CSRF validation is kept as an independent request-origin control. Track the fix through https://github.com/openemr/openemr/security/advisories/GHSA-7cfr-7h7r-f2x9 and align to the 8.5.0 release notes. Where an immediate upgrade is not possible, the most direct compensating control is to turn off alternate C-CDA generation for the clinical dashboard by removing ccda_alt_service_enable=3 from the configuration, which closes the reachable path at the cost of losing the dashboard Summary of Care feature. Alternatively, deny requests to /ccdaservice/ccda_gateway.php at the web server or reverse proxy for core-session traffic while permitting the portal path, though this must be scoped carefully because the same script serves the legitimate Patient Report download and view actions - over-broad blocking will break those workflows for authorized staff. Because exploitation needs only a low-privilege authenticated account plus a known numeric patient PID, also audit recent access logs for direct report_ccd_view requests that do not follow a successful patient_report.php load, and review which accounts hold core sessions without patients/pat_rep. The vendor describes 8.5.0 as the only complete remediation; the configuration and proxy measures are partial mitigations rather than substitutes.
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
OpenEMR is a PHP-based electronic health record and practice-management platform. Its role-based access control is enforced through AclMain::aclCheckCore(), and interface/patient_file/report/patient_report.php correctly calls aclCheckCore('patients','pat_rep') before rendering the Patient Report page. The parallel C-CDA generation front controller, ccdaservice/ccda_gateway.php, branches on session type: if the session carries a portal pid together with patient_portal_onsite_two it runs with ignoreAuth, binds PID to the portal patient, and defines IS_PORTAL; otherwise it destroys any portal session, loads the core session, and only verifies that authUserID is non-empty. In that core branch the code never re-checks patients/pat_rep, never authorizes the patient recorded in the session, and does not apply the patient's squad or sensitivity restrictions. globals.php then repopulates the global $pid from the session, and the dispatcher hands that PID straight to generateCCDHtml()/generateCCDZip() for the view, report_ccd_view, and download actions. The only guard in the report_ccd_view path is a stripos() search of the returned HTML for '/interface/login_screen.php', which detects a failed internal service session and is not a patient authorization check; CSRF validation via CsrfUtils::checkCsrfInput() is retained and is a separate request-origin control. The root cause maps to CWE-862 (Missing Authorization), with the advisory filing it under the broader CWE-284 (Improper Access Control). The vulnerable code path is only reachable when alternate C-CDA generation is enabled for the clinical dashboard, which the advisory validated at ccda_alt_service_enable=3 and describes as a non-default setting; portal sessions are not affected because that branch is bound to the authenticated portal patient's own PID. The EDB/EUVD tags label this an 'Authentication Bypass', which is imprecise - authentication is mandatory and only the downstream patient-report authorization is missing.
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:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Authenticated low-privilege user (PR:L) over the network (AV:N); the required non-default alternate-C-CDA configuration is outside attacker control, so AC:H; full PHI disclosure gives C:H with no integrity or availability impact and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
OpenEMR before 8.5.0 contains a missing authorization vulnerability in ccdaservice/ccda_gateway.php that fails to enforce the patients/pat_rep permission, accepting any authenticated core session. Authenticated users without patient-report permission can request the report_ccd_view action to retrieve the selected patient's C-CDA clinical summary, including diagnoses, medications, laboratory results, and identifiers.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-125004
GHSA-prvm-px5q-r9w2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB