CVE-2026-25147
OpenEMR is a free and open source electronic health records and medical practice management application.
Published Feb 27, 2026 · updated Jun 17, 2026 · open-emr openemr
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, in , the patient id used for the page is taken from the request ( and ) instead of being fixed to the authenticated portal user. The portal session already has a valid for the logged-in patient. Overwriting it with user-supplied values and using it without authorization allows a portal user to view and interact with another patient's demographics, invoices, and payment history—horizontal privilege escalation and IDOR. Version 8.0.0 contains a fix for the issue.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Feb 27, 2026 · NIST NVD
Detected
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, in , the patient id used for the page is taken from the request ( and ) instead of being fixed to the authenticated portal user. The portal session already has a valid for the logged-in patient. Overwriting it with user-supplied values and using it without authorization
Jun 17, 2026 · NIST NVD
Updated
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, in , the patient id used for the page is taken from the request ( and ) instead of being fixed to the authenticated portal user. The portal session already has a valid for the logged-in patient. Overwriting it with user-supplied values and using it without authorization
Affected
- cpe open-emr/openemrversion unspecified
Sources
- NIST NVDVulnerability recordCVE-2026-25147
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, in , the patient id used for the page is taken from the request ( and `$pid = ($_REQUEST['h
nvd.nist.gov