Skip to main content

OpenEMR CVE-2026-126417

| EUVDEUVD-2026-125026 MEDIUM
Improper Access Control (CWE-284)
2026-11-13 VulnCheck GHSA-qxq5-4prg-cj44
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 billing user with eob/bill write access
  2. Delivery
    Obtain valid OpenEMR CSRF token
  3. Exploit
    Request get_claim_file.php location=tmp key=ccda.xml
  4. Execution
    Server serves unverified temp file
  5. Impact
    Download recently validated patient C-CDA

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated OpenEMR account holding acct/eob or acct/bill write access (PR:L) plus a valid CSRF token, so this is an authenticated low-privilege operation, not anonymous. It further depends on OpenEMR's external C-CDA validation feature being enabled and a patient's C-CDA having been validated recently, because that workflow is what writes the predictable ccda.xml target into the shared system temporary directory and leaves it there - this transient, operator-triggered precondition is what the vector encodes as AT:P. Limiting factors for defenders: the attacker must already have billing write access, the target feature must be in use, and the file is overwritten/timing-dependent so only the most recently validated patient's document is exposed at any moment; directory traversal is blocked by the basename conversion, so only files within that one directory are reachable.

Impact

This is a genuine but moderate-priority information-disclosure flaw, not a critical one. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H) scores 6.0 and is internally consistent: network-reachable with low attacker complexity, but gated by an authenticated low-privilege billing account (PR:L) and by an attack REQUIREMENT (AT:P) - a patient C-CDA must have been recently validated and left in the shared temporary directory. No EPSS score and no CISA KEV listing are present in the input, so there is no signal of active or widespread exploitation; the vuln.today priority label is 'this_month' (not act_now/emergency), consistent with a real-but-not-urgent issue. A detailed step-by-step PoC is published in the vendor GHSA advisory, which raises practical exploitability for anyone already holding billing access. The key tension is that impact is high (complete patient clinical document, VC:H) while exploitation is constrained to authenticated insiders under a transient file-timing condition - so treat this as an insider/privilege-boundary data-exposure risk rather than a mass-exploitable external threat.

Exploit ScenarioDerived

A low-privilege billing user with acct/eob or acct/bill write access - who should only handle claims - requests get_claim_file.php with location=tmp and key=ccda.xml and receives the most recently externally-validated patient's complete C-CDA from the shared system temporary directory, crossing the billing-to-clinical privilege boundary. The attack is low-complexity but requires that external C-CDA validation ran recently so ccda.xml is present (AT:P). A reproducible PoC, including the exact HTTP request and CSRF handling, is published in the vendor's GHSA advisory.

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

OpenEMR versions before 8.5.0 let an authenticated billing user with acct/eob or acct/bill write access download files from the shared system temporary directory through get_claim_file.php. By supplying location=tmp and key=ccda.xml with a valid CSRF token, that user can retrieve the complete C-CDA clinical document of the most recently validated patient, exposing patient identity and clinical history. Exploitation is not anonymous and depends on the external C-CDA validation feature being enabled and recently used; the vendor advisory documents a proof-of-concept request sequence, and no confirmed active exploitation has been reported.

RemediationAI

Vendor-released patch: OpenEMR 8.5.0. Upgrading to 8.5.0 is the complete fix and the vendor advisory does not describe an equivalent code-level workaround, so schedule it this month per the current priority rating. Where the upgrade must wait, reduce exposure by reviewing which accounts actually hold acct/eob or acct/bill write access and removing it from users who do not need claim and EOB handling - this shrinks the authenticated attacker pool but does not close the flaw for legitimate billing staff. Disabling external C-CDA validation removes the predictable ccda.xml target that the demonstrated exploit relies on, at the cost of losing external validation of generated clinical documents; note this only defeats the shown path, since other OpenEMR features also write predictable filenames into the same shared temporary directory. Because the request requires a valid CSRF token, keeping token handling and session hygiene intact raises the bar slightly but is not a mitigation on its own. Monitor web server logs for GET requests to /interface/billing/get_claim_file.php carrying location=tmp, particularly with key values that are not claim filenames.

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 billing platform. This is an improper access control weakness (CWE-284) rather than a memory-safety or injection issue: the application overrides PHP's temporary_files_dir global with rtrim(sys_get_temp_dir(), '/'), so every feature that writes scratch files shares one process-wide, predictable namespace. interface/billing/get_claim_file.php accepts a request-controlled basename, converts it with convert_safe_file_dir_name() to defeat directory traversal, and when location=tmp is supplied it simply checks file_exists() in that shared directory before streaming the file back with a Content-Disposition attachment header. There is no claim database lookup, no ownership check, no registry of generated files and no filename allowlist, so any file the PHP process can read in that directory is served. A separate workflow - external C-CDA validation - writes a full patient C-CDA to temporary_files_dir/ccda.xml via file_put_contents() and hands it to a CURLFile for upload, but never deletes it, creating a predictable cross-feature target that persists until the next validation overwrites it. The basename conversion confines reach to that single directory, and the file's contents and lifetime are controlled by the other feature, which is why the assessed vector carries AC:H and AT:P despite the request itself being a simple GET.

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 billing access gives PR:L; AC:H reflects the required precondition that a C-CDA was recently validated and left in temp; disclosure-only, so C:H with I:N/A:N.

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 an access control flaw in get_claim_file.php: with location=tmp, it serves any file in the shared temporary directory without verifying the file is a claim for the caller. Users with acct/eob or acct/bill write access can request key=ccda.xml to download the most recently validated patient's complete C-CDA clinical document.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
popular open-source EHR, significant but healthcare-sector-specific footprint
Data Quality
5 sources
Confidence: Medium

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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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