---
id: "CVE-2026-126472"
page: "https://infrastack.ai/live/CVE-2026-126472"
kind: "vulnerability"
aliases: ["CVE-2026-126472"]
title: "OpenEMR: any staff login can read other patients' clinical records"
severity: "high"
cvss: 8.8
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "other", "php", "self-hosted"]
not_affected_if: ["no-staff-logins-exposed", "openemr-8.5.0-or-later"]
published_at: "2026-11-13T10:17:56+00:00"
first_seen_at: "2026-11-13T10:47:25+00:00"
updated_at: "2026-11-13T10:48:49+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126472", "first_seen_at": "2026-11-13T10:47:25+00:00"}]
exploit_sources: []
---

# OpenEMR: any staff login can read other patients' clinical records

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

OpenEMR, an electronic health records system, has a missing authorization check in its C-CDA gateway file ccdaservice/ccda_gateway.php. Any logged-in low-privilege staff user can request other patients' C-CDA documents by changing the patient ID, exposing medications, problems, allergies and immunizations.

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

## How to check

- Check the installed OpenEMR version (unknown exact command; the sources do not say)
- Look for the file `ccdaservice/ccda_gateway.php` in the OpenEMR install directory

## Fix

- OpenEMR: move to `8.5.0` or later (the sources say 'before 8.5.0' is affected)

## Timeline

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

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-6fxw-69cq-m7g6
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.5.0-missing-authorization-in-ccdaservice-ccda-gateway-php-c-cda-disclosure

## From the sources

OpenEMR before 8.5.0 contains a missing authorization vulnerability in ccdaservice/ccda_gateway.php that allows any authenticated low-privilege staff user to retrieve other patients' C-CDA documents. Attackers can request the view or dl action with sequential pid values and their own CSRF token to enumerate and exfiltrate medications, problems, allergies, and immunizations.

---

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