{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-25147","published":"2026-02-27T17:16:30.933000Z","last_modified":"2026-06-17T10:24:11.420000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-639"],"cpes":[{"criteria":"cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*","part":"a","vendor":"open-emr","product":"openemr","version_end_excluding":"8.0.0"}],"cpes_truncated":false,"vendors":["open-emr"],"products":["open-emr/openemr"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2026-25147/","html_en":"/en/cve/CVE-2026-25147/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-25147","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-25147"},"untrusted":{"vendor_name":"Open-emr","product_name":"Openemr","desc_en":"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.","affected":[{"untrusted_vendor":"openemr","untrusted_product":"openemr","versions":[]}],"references":[{"url":"https://github.com/openemr/openemr/commit/d6ab3cd0b621b19b942cf49d2db2026e288aa214","tags":["Patch"]},{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-mwmw-qxv3-8whh","tags":["Exploit","Vendor Advisory"]}]}}