---
id: "CVE-2026-126417"
page: "https://infrastack.ai/live/CVE-2026-126417"
kind: "vulnerability"
aliases: ["CVE-2026-126417"]
title: "OpenEMR: claim file endpoint leaks patient clinical documents to billing users"
severity: "medium"
cvss: 6.0
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "php", "runtime", "self-hosted"]
not_affected_if: ["no-billing-role-users", "version-8.5.0-or-later"]
published_at: "2026-11-13T10:17:47+00:00"
first_seen_at: "2026-11-13T10:47:20+00:00"
updated_at: "2026-11-13T10:56:40+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126417", "first_seen_at": "2026-11-13T10:47:20+00:00"}]
exploit_sources: []
---

# OpenEMR: claim file endpoint leaks patient clinical documents to billing users

Link for people: https://infrastack.ai/live/CVE-2026-126417 (this .md is for agents)

OpenEMR before 8.5.0 has an access control flaw in get_claim_file.php: with location=tmp it serves any file in the shared temporary directory without checking it is a claim. A user with billing or EOB write access can download the most recently validated patient's full C-CDA clinical document.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the OpenEMR version in the installation; versions below `8.5.0` are listed as affected.
- Look for the file get_claim_file.php in the OpenEMR web tree and confirm whether it is reachable by users with acct/eob or acct/bill access.

## Fix

- OpenEMR versions before `8.5.0` are affected; move to `8.5.0` or later.

## Timeline

- 2026-11-13T10:47:20+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126417

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-9rw5-h7xf-57mc
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.5.0-information-disclosure-via-get-claim-file-php

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
