CVE-2026-25147
HIGHDescription
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0, in `portal/portal_payment.php`, the patient id used for the page is taken 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. The portal session already has a valid `$pid` 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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 13% of all known CVEs.
References
Related Vulnerabilities
Other CWE-639 (Authorization Bypass Through User-Controlled Key) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-6875 | Critical | 9.8 | 90% | - | - |
| CVE-2024-46982 | High | 7.5 | 61% | - | Fix |
| CVE-2021-45428 | Critical | 9.8 | 57% | - | - |
| CVE-2019-17382 | Critical | 9.1 | 54% | - | Fix |
| CVE-2019-13360 | Critical | 9.8 | 24% | - | - |
| CVE-2023-48783 | Medium | 5.4 | 22% | - | Fix |
Embed a live status badge for CVE-2026-25147
Markdown
[](https://tridentstack.com/cve/CVE-2026-25147)HTML
<a href="https://tridentstack.com/cve/CVE-2026-25147"><img src="https://tridentstack.com/cve/badge/CVE-2026-25147.svg" alt="CVE-2026-25147"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-03-03.