Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
DeliveryRequest QRDA download endpoint with report_id
-
ExploitPass CSRF but bypass missing patients/med ACL
-
ExecutionEnumerate report_id values (IDOR)
-
PersistGenerate and stream QRDA Cat I/III documents
-
ImpactExfiltrate patient PHI
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid authenticated OpenEMR session on a version prior to 8.3.0; the attacking account can be any low-privilege role that lacks the patients/med ACL, since the four endpoints (custom/ajax_download.php, custom/download_qrda.php, custom/export_qrda_xml.php, custom/qrda_download.php) enforce no ACL check. A valid per-session CSRF token is required (a bad token yields an Authentication Error), which limits purely external/unauthenticated abuse. For PHI to actually be exposed, the clinic must have generated CQM reports so report_results is populated - the normal state for practices doing CMS quality reporting; without any generated report, only the authorization bypass is reachable, not patient data. report_id is unscoped, enabling enumeration (report_id=1..N) across users/facilities. No non-default configuration beyond using the CQM/QRDA reporting feature is needed. |
| Impact | This is a genuine but moderate-priority issue, not a high-CVSS-but-low-real-risk case, nor an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) correctly reflects a network-reachable, low-complexity flaw requiring only a low-privilege authenticated account - any authenticated user, regardless of role, can reach the QRDA download logic because the four custom/ endpoints check CSRF but omit the patients/med ACL that gates the canonical cqm.php page. C:H/I:N/A:N is appropriate: the impact is confidentiality-only (bulk PHI exposure of QRDA Category I/III clinical documents for every patient in a measure), with no integrity or availability effect, which is why the score lands at 6.5 Medium rather than higher. Not in CISA KEV, so this is NOT confirmed actively exploited. No EPSS score was provided in the input, so exploitation probability cannot be quantified here. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with a real-but-not-critical priority. A public PoC reference exists in the GHSA advisory demonstrating the authorization bypass, but the reporter explicitly states they did not capture actual QRDA XML content because their test instance had no generated CQM reports - so full PHI exfiltration is demonstrated by code path, not by captured output. The practical risk hinges on whether a deployment actually generates CQM/QRDA reports (common for US clinics doing CMS quality reporting) and on how many users hold low-privilege accounts. |
| Exploit ScenarioDerived | A clinic using OpenEMR for CMS quality reporting has generated CQM reports, populating report_results. A low-privilege authenticated user (e.g. front-desk staff without the patients/med ACL), using their own valid session and CSRF token, POSTs to custom/ajax_download.php or requests the sibling QRDA endpoints with an incrementing report_id, bypassing the authorization gate and downloading QRDA Category I/III documents containing PHI for every patient in a measure. A public PoC reference exists demonstrating that execution reaches collectReportDatabase() past all authorization checks; it is not verified as working exploit code that captured actual PHI output. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Missing authorization in OpenEMR's QRDA reporting endpoints (custom/ajax_download.php, custom/download_qrda.php, custom/export_qrda_xml.php, custom/qrda_download.php) lets any authenticated user whose account lacks the patients/med ACL drive CQM report generation and download QRDA Category I and Category III clinical documents for patients in a measure on versions prior to 8.3.0. The endpoints validate CSRF but never apply the AclMain::aclCheckCore('patients','med') gate enforced by the canonical interface/reports/cqm.php page, and they accept an unscoped report_id, so a low-privilege account can also enumerate other users' or facilities' reports via report_id=1..N. Exploitation requires a valid session and that session's own CSRF token, and PHI is only exposed where the clinic has generated CQM reports (the normal state for practices doing CMS quality reporting); there is no KEV entry at time of analysis, and the public proof-of-concept in the advisory demonstrates the authorization bypass but did not capture actual QRDA XML content because the test instance had no generated reports.
RemediationAI
Vendor-released patch: OpenEMR 8.3.0 (release tag v8_3_0, https://github.com/openemr/openemr/releases/tag/v8_3_0), which implements the fix merged in pull request https://github.com/openemr/openemr/pull/13200 (commit 7973cab3fe3f2fd2374ed71c02605e3c93491c36); the diff adds an AclMain::aclCheckCore('patients','med') check that returns HTTP 403 in custom/ajax_download.php, custom/download_qrda.php, custom/export_qrda_xml.php and custom/qrda_download.php, and the same commit also adds ACL gates to adjacent scripts such as interface/main/messages/save.php, oe-module-dorn/public/compendium_install.php and interface/patient_file/download_template.php. The vendor advisory is at https://github.com/openemr/openemr/security/advisories/GHSA-6p9h-59cp-8hxj. Until upgrading, a compensating control is to block the four custom/ QRDA endpoints at the web server or reverse proxy with an explicit 403 for all requests; the trade-off is that legitimate CQM report generation and download stops working for authorized reporting staff, so this is only viable as a short-term measure. Because the endpoints require only a valid session plus that session's own CSRF token, CSRF-token handling cannot be used as a mitigating control. Additional interim measures are to review which accounts hold the patients/med ACL and trim broad grants, and to inspect report_results and the cqm_qrda/ directory for reports generated outside normal reporting workflows, since the unscoped report_id allows cross-user and cross-facility enumeration. Removing or quarantining generated CQM reports would reduce exposure but removes the data the reporting workflow depends on and does not close the underlying authorization bypass.
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 records and medical practice management application; the affected feature is the Clinical Quality Measure (CQM) reporting pipeline that emits QRDA (Quality Reporting Document Architecture) Category I per-patient CDA documents and Category III aggregate documents. The intended entry point interface/reports/cqm.php guards the feature with AclMain::aclCheckCore('patients','med') and denies unauthorized users, but the four custom/ scripts reach the same back-end logic with CSRF validation only: custom/ajax_download.php passes the request-supplied reportID straight into collectReportDatabase() in library/report_database.inc.php, whose query ('SELECT * FROM report_results WHERE report_id=?') applies no user or facility scoping, after which getCombinePatients() enumerates every patient in the measure and mainQrdaCatOneGenerate() emits the Category I CDA; custom/export_qrda_xml.php produces the Category III document, custom/download_qrda.php is the measure picker, and custom/qrda_download.php streams an existing file from cqm_qrda/. The root cause class is CWE-862 (Missing Authorization), with CWE-639 (IDOR) for the unscoped report_id. Note that custom/ajax_download.php already carries an unrelated reflected XSS advisory, CVE-2026-33912 / GHSA-cpph-949w-w79v, on the reportID parameter; this is a different vulnerability class on the same file, and the lack of any ACL call in the four scripts is confirmed by the absence of AclMain, aclCheckCore or aclCheckAcoSpec usage in them.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network endpoint reachable by any low-privilege authenticated user (PR:L) with no added complexity or interaction; confidentiality-only bulk PHI exposure, so C:H, I:N, A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
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
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-117773
NVD
CVE.org
EPSS
GitHub
Exploit-DB