CVE-2026-126437
Awaiting Analysis Awaiting Analysis - Queue

Authorization Bypass in OpenEMR Exposes Patient Data

Vulnerability report for CVE-2026-126437, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: VulnCheck

Description

OpenEMR before 8.5.0 contains an authorization bypass vulnerability in portal/lib/download_template.php that allows any authenticated core user to render documents for arbitrary patients by setting isModule. Attackers can submit arbitrary pid and template_id values to disclose patient names, birth dates, chart IDs, addresses, allergies, medications, and problem lists despite ACL and squad restrictions.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
openemr openemr to 8.5.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

OpenEMR before version 8.5.0 has an authorization bypass flaw in the file portal/lib/download_template.php. This allows any authenticated core user to access documents for any patient by manipulating parameters like pid and template_id. The vulnerability bypasses access control lists (ACL) and squad restrictions, enabling unauthorized disclosure of sensitive patient data.

Detection Guidance

Check OpenEMR versions before 8.5.0 for the file portal/lib/download_template.php. Look for unauthorized document access attempts where users submit arbitrary pid and template_id values. Monitor logs for unusual document rendering requests.

Impact Analysis

If you are a user of OpenEMR before 8.5.0, an attacker with basic authentication could exploit this to view private patient records, including names, birth dates, addresses, allergies, medications, and medical history. This could lead to privacy breaches, identity theft, or misuse of sensitive health information.

Compliance Impact

This vulnerability likely violates GDPR and HIPAA due to unauthorized access to protected health information (PHI). GDPR requires strict access controls and data protection, while HIPAA mandates safeguards for patient data. Exploitation could result in regulatory penalties, legal liabilities, and reputational damage for affected organizations.

Mitigation Strategies

Upgrade OpenEMR to version 8.5.0 or later immediately. Review and restrict access to portal/lib/download_template.php. Implement strict input validation for pid and template_id parameters. Audit logs for past unauthorized access attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126437. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...