---
id: "CVE-2026-104138"
kind: "vulnerability"
aliases: ["CVE-2026-104138"]
title: "OpenEMR: low-privilege users can download other clinics' QRDA patient reports"
severity: "medium"
cvss: 6.5
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "php", "runtime", "self-hosted"]
not_affected_if: ["no-qrda-reports", "version-8.3.0-or-later"]
published_at: "2026-11-05T20:17:39+00:00"
first_seen_at: "2026-11-05T20:40:44+00:00"
updated_at: "2026-11-05T20:43:20+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-104138", "first_seen_at": "2026-11-05T20:40:44+00:00"}]
exploit_sources: []
---

# OpenEMR: low-privilege users can download other clinics' QRDA patient reports

OpenEMR's custom QRDA report download endpoints skip the patients/med access check and accept any report_id, so a low-privilege logged-in user can fetch report files they should not see. Those files can contain clinical documents for patients in a measure.

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

## How to check

- Check the OpenEMR version in the installed application; versions before `8.3.0` are in scope.
- Look for `custom/ajax_download.php`, `custom/download_qrda.php`, `custom/export_qrda_xml.php` and `custom/qrda_download.php` in the install.

## Fix

- OpenEMR: upgrade to `8.3.0`

## Timeline

- 2026-11-05T20:40:44+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-104138

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-6p9h-59cp-8hxj
- [fix] Patch: github.com https://github.com/openemr/openemr/commit/7973cab3fe3f2fd2374ed71c02605e3c93491c36
- [fix] Release notes: github.com https://github.com/openemr/openemr/releases/tag/v8_3_0

## From the sources

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.3.0, custom/ajax_download.php, custom/download_qrda.php, custom/export_qrda_xml.php, and custom/qrda_download.php validate CSRF but do not enforce the patients/med ACL used by the canonical CQM report page. The endpoints also accept an unscoped report_id, allowing a low-privilege authenticated user to reach report generation and download logic for other reports. In a clinic with generated CQM reports, this can expose QRDA Category One and Category Three clinical documents for patients in a measure. This issue is fixed in version 8.3.0.

---

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