Skip to main content

OpenEMR EUVDEUVD-2026-117773

| CVE-2026-104138 MEDIUM
Missing Authorization (CWE-862)
2026-11-05 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Request QRDA download endpoint with report_id
  3. Exploit
    Pass CSRF but bypass missing patients/med ACL
  4. Execution
    Enumerate report_id values (IDOR)
  5. Persist
    Generate and stream QRDA Cat I/III documents
  6. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

OpenEMR < 8.3.0

Affected Packages

euvd openemr fix: 8.3.0

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

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 05, 2026 - 21:18 EUVD

DescriptionCVE.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

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
most popular open-source EHR, but confined to healthcare deployments
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2013-10044 HIGH POC
8.7 Aug 01

An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to

CVE-2026-24898 CRITICAL POC
10.0 Mar 03

Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.

CVE-2026-24848 CRITICAL POC
9.9 Mar 03

Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.

CVE-2026-24849 CRITICAL POC
9.9 Feb 25

Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the

CVE-2026-24908 CRITICAL POC
9.9 Feb 25

SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the

CVE-2024-22611 CRITICAL POC
9.8 Apr 03

OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl

CVE-2024-37734 CRITICAL POC
9.8 Jun 26

An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par

CVE-2026-25146 CRITICAL POC
9.6 Mar 03

Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.

CVE-2026-39932 CRITICAL POC
9.4 Aug 03

Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so

CVE-2012-0992 HIGH POC
8.5 Feb 07

interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel

CVE-2026-124450 CRITICAL POC
9.3 Nov 08

Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms

CVE-2015-4453 MEDIUM
5.0 Jul 05

interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy