Back to CVE records
High 7.1HealthcarePublished Feb 27, 2026

CVE-2026-25147OpenEMR's Portal Payment Endpoint Trusts User-Controlled pid

Updated under an hour ago ()

Does this affect you?

It affects openemr and 1 other product. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.23%, higher than 13% of scored CVEs.

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.

CVSS
7.1 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Weakness (CWE)
CWE-639
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.23% (percentile 13)
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Feb 27, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
openemr openemr
openemr:openemr (from the name)
before 8.0.0
CNA record
open-emr openemr
open-emr:openemr
before 8.0.0
NVD

References

  • x-refsource-confirm, exploit, vendor-advisory
  • x-refsource-misc, patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.