Skip to main content

OpenEMR CVE-2026-126439

| EUVDEUVD-2026-125004 MEDIUM
Missing Authorization (CWE-862)
2026-11-13 VulnCheck GHSA-prvm-px5q-r9w2
6.0
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 core user
  2. Delivery
    Select target patient PID into session
  3. Exploit
    Obtain valid session CSRF token
  4. Execution
    Request ccda_gateway.php report_ccd_view action
  5. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

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

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

Vendor (VulnCheck) PRIMARY 6.0 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/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
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 10:02 EUVD

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

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
widely used open-source EHR, but healthcare-specific 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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