PT-2026-22350 · Openemr · Openemr

Simecek

·

Published

2026-02-27

·

Updated

2026-03-04

·

CVE-2026-25147

CVSS v3.1

7.1

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions OpenEMR versions prior to 8.0.0
Description OpenEMR is an electronic health records and medical practice management application. Prior to version 8.0.0, the patient ID used in portal/portal payment.php is obtained from the request ($pid = $ REQUEST['pid'] ?? $pid and $pid = ($ REQUEST['hidden patient code'] ?? null) > 0 ? $ REQUEST['hidden patient code'] : $pid) instead of being fixed to the authenticated portal user. This allows a portal user to view and interact with another patient's demographics, invoices, and payment history, resulting in horizontal privilege escalation and IDOR (Insecure Direct Object Reference). The vulnerable parameter is pid and hidden patient code.
Recommendations Update to version 8.0.0 or later.

Exploit

Fix

LPE

IDOR

Weakness Enumeration

Related Identifiers

CVE-2026-25147
GHSA-MWMW-QXV3-8WHH

Affected Products

Openemr