CVE-2026-104139
Analyzed Analyzed - Analysis Complete

Authenticated Patient Data Exposure in OpenEMR

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

Publication date: 2026-11-05

Last updated on: 2026-11-10

Assigner: GitHub, Inc.

Description

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.3.0, library/ajax/set_pt.php allows any authenticated user to set an arbitrary patient identifier in the active session without an ACL check, and interface/patient_file/download_template.php trusts that session value while enforcing only CSRF validation. A low-privilege user can select another patient and download a rendered document template containing the patient's demographics, encounter information, allergies, medications, and problem list despite lacking patients/docs access. This issue is fixed in version 8.3.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-05
Last Modified
2026-11-10
Generated
2026-11-14
AI Q&A
2026-11-06
EPSS Evaluated
2026-11-13
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
open-emr openemr to 8.3.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-862 The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-104139 is a vulnerability in OpenEMR versions before 8.3.0 that allows any authenticated user to access and download another patient's Protected Health Information (PHI). The issue involves two missing authorization checks: one in the patient document download endpoint and another in the session patient ID setting endpoint. An attacker can exploit this by changing their session's patient context to a victim's ID and then downloading the victim's PHI, including demographics, medications, and problem lists.

Detection Guidance

Check OpenEMR versions before 8.3.0 by running: grep -r 'openemr' /var/www/html/openemr/version.php or check the version in the OpenEMR web interface under Administration > Globals. Monitor for unauthorized patient data access attempts in logs, especially for the endpoints /library/ajax/set_pt.php and /interface/patient_file/download_template.php.

Look for unusual session changes or CSRF token misuse in web server logs. Test if any user can set an arbitrary patient ID in their session without proper ACL checks.

Impact Analysis

This vulnerability allows low-privilege users, such as front office staff, to access highly sensitive patient information without proper authorization. An attacker could exploit this to view or download another patient's full PHI, including personal details, medical history, and medications. This constitutes a serious privacy breach and potential HIPAA violation.

Compliance Impact

This vulnerability directly impacts compliance with HIPAA as it allows unauthorized access to Protected Health Information (PHI), which is a HIPAA-reportable breach. It also likely violates GDPR principles of data minimization and purpose limitation, as unauthorized individuals can access and potentially exfiltrate sensitive personal data.

Mitigation Strategies

Upgrade OpenEMR to version 8.3.0 or later immediately. If upgrading is not possible, apply patches from the OpenEMR GitHub security advisory to add ACL checks to download_template.php and authorization checks to set_pt.php.

Review user access logs for suspicious activity, especially unauthorized patient data downloads. Implement network monitoring to detect unusual access to sensitive endpoints.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-104139. 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...