BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-25147 in Open-Emr Openemr

High 7.1

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 ? $...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.1
EPSS0.5%
EPSS percentile32th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Open-Emr Openemr < 8.0.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-25147
BreachSpider IDBS-2026-GLOBAL-073300-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Published2026-02-27
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-639: Authorization Bypass Through User-Controlled Key (IDOR)

Software uses a user-supplied key to access resources without verifying authorization for that specific resource.

Analysis AI-written, not human-reviewed

CVE-2026-25147 affects OpenEMR versions prior to 8.0.0, where the patient ID in the portal_payment.php script is derived from user input without proper validation, potentially allowing unauthorized access to patient records.

An attacker could exploit this vulnerability by manipulating the 'pid' or 'hidden_patient_code' parameters in the URL or form data to access records of other patients. This could lead to sensitive information disclosure.

Questions

What is CVE-2026-25147?

CVE-2026-25147 affects OpenEMR versions prior to 8.0.0, where the patient ID in the portal_payment.php script is derived from user input without proper validation, potentially allowing unauthorized access to patient records.

What is the CVSS score for CVE-2026-25147?

CVE-2026-25147 has CVSS 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N. EPSS: 0.5%.

Is CVE-2026-25147 actively exploited?

No confirmed active exploitation of CVE-2026-25147 as of 2026-09-25.

How do I remediate CVE-2026-25147?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-25147?

CVE-2026-25147 affects Open-Emr Openemr.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Open-Emr","product":"Openemr","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.