CVE-2026-134020
Awaiting Analysis Awaiting Analysis - Queue

Unauthorized Data Exposure in OpenEMR Staff Portal

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

Publication date: 2026-11-23

Last updated on: 2026-11-23

Assigner: GitHub, Inc.

Description

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.5.0, the staff-facing portal endpoints GET api/onsiteactivityviews and GET api/onsiteactivityview/{id}, mapped to OnsiteActivityView.Query and OnsiteActivityView.Read with p_acl = p_none in portal/patient/_app_config.php, are handled without an authorization check for an authenticated staff session whose bootstrap_pid is empty. portal/patient/_machine_config.php admits that authenticated staff session, and portal/patient/fwk/libs/verysimple/Phreeze/GenericRouter.php applies the route ACL only when bootstrap_pid is nonempty, so the staff request bypasses the p_none check. OnsiteActivityViewController::Query() returns records without patient scoping, and OnsiteActivityViewController::Read() loads a record by identifier without checking ACL or ownership; OnsiteActivityViewReporter::GetCustomQuery() joins portal activity to patient demographics and includes names, dates of birth, addresses, and Social Security numbers. Any authenticated staff account, including one without the patients/demo permission, can therefore read sensitive demographics for patients represented by an existing onsite_portal_activity row; at least one such row must exist for the endpoint to return patient data. This issue is fixed in version 8.5.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
openemr openemr 8.5.0

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

This vulnerability in OpenEMR versions prior to 8.5.0 allows authenticated staff users with an empty bootstrap_pid to bypass authorization checks. The endpoints GET api/onsiteactivityviews and GET api/onsiteactivityview/{id} return sensitive patient data like names, dates of birth, addresses, and Social Security numbers without proper patient scoping or ownership verification.

Detection Guidance

To detect this vulnerability, check if your OpenEMR version is below 8.5.0. Inspect the staff-facing portal endpoints GET api/onsiteactivityviews and GET api/onsiteactivityview/{id} for unauthorized access. Verify if authenticated staff sessions with empty bootstrap_pid can access sensitive patient data without proper authorization checks.

Impact Analysis

An attacker with access to a staff account could exploit this flaw to view protected patient information, potentially leading to privacy breaches, identity theft, or unauthorized access to sensitive medical records.

Compliance Impact

This vulnerability likely violates HIPAA due to unauthorized access to protected health information and GDPR due to improper handling of personal data, as it allows unauthorized staff to access sensitive patient demographics without proper controls.

Mitigation Strategies

Immediately upgrade OpenEMR to version 8.5.0 or later to address the authorization bypass. Ensure all staff accounts follow the principle of least privilege and review access logs for suspicious activity related to the affected endpoints.

Chat Assistant

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