CVE-2026-104138

OpenEMR: Missing authorization on QRDA Category I/III download endpoints

Published Nov 5, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from missing authorization checks on several download endpoints (custom/ajax_download.php, custom/download_qrda.php, custom/export_qrda_xml.php, and custom/qrda_download.php) in OpenEMR versions prior to 8.3.0. While these endpoints validate CSRF tokens, they do not enforce the patient or medical record access control list that governs the official CQM report page. As a result, a low‑privilege authenticated user can supply an unscoped report_id and trigger QRDA Category 1 and Category 3 report generation and download logic for other patients, exposing confidential clinical documents.

Affected Systems

The issue affects installations of OpenEMR older than version 8.3.0. It applies to the specified download and export endpoints and any clinic that has generated CQM reports. The CVE references a commit and a pull request that introduced the fix in the 8.3.0 release.

Risk and Exploitability

OpenEMR assigns this flaw a CVSS score of 6.5, indicating a moderate severity. The EPSS score is not available and the vulnerability is not listed as a Known Exploited Vulnerability. The likely attack vector requires that an attacker be able to authenticate to the system, but can hold only limited privileges. Once authenticated, the attacker can request report files for any patient by manipulating the report_id parameter, gaining access to protected health information. The fix eliminates the missing authorization check and restricts endpoints to the correct ACL.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.3.0 or later, which adds the necessary authorization checks to the affected download endpoints.
  • If an immediate upgrade is not possible, restrict access to the vulnerable endpoints via the web server or application firewall, allowing only users with appropriate administrative privileges to use them.
  • Enforce proper patient/medical record access control for all download and export routes, ensuring that the ACL is checked before any QRDA report data is returned.

Generated by OpenCVE AI on November 5, 2026 at 21:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Open-emr
Open-emr openemr
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr
Type Values Removed Values Added
Description 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.
Title OpenEMR: Missing authorization on QRDA Category I/III download endpoints
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 6:15 PM
Reserved
Oct 1, 2026, 6:47 PM
Status
Analyzed
Published
Nov 5, 2026, 8:17 PM
Modified
Nov 10, 2026, 7:12 PM