Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as billing user with eob/bill write access
-
DeliveryObtain valid OpenEMR CSRF token
-
ExploitRequest get_claim_file.php location=tmp key=ccda.xml
-
ExecutionServer serves unverified temp file
-
ImpactDownload 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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 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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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
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
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-125026
GHSA-qxq5-4prg-cj44
NVD
CVE.org
EPSS
VulDB
Exploit-DB