Home / openemr / openemr / CVE-2026-25147
CVE-2026-25147: is it exploited, and which versions of openemr are affected and fixed?
CVE-2026-25147 is an authorization bypass through a user-controlled key (IDOR) vulnerability in openemr. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: openemr < 8.0.0 (CVE record by GitHub_M). Fixed in 8.0.0 (NVD). Severity: High (7.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-25147?
OpenEMR's Portal Payment Endpoint Trusts User-Controlled pid
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.
From the CVE record by GitHub_M, last updated February 27, 2026, 18:27 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| openemr | openemr | < 8.0.0 |
As the CVE record by GitHub_M states it, last updated February 27, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| open-emr | openemr | before 8.0.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:24 UTC.
How severe is CVE-2026-25147?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-25147 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, February 27, 2026)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 18.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-639 Authorization Bypass Through User-Controlled Key
Where are the vendor advisories and references?
- https://github.com/openemr/openemr/security/advisories/GHSA-mwmw-qxv3-8whh x_refsource_CONFIRM
- https://github.com/openemr/openemr/commit/d6ab3cd0b621b19b942cf49d2db2026e288aa214 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 29, 2026
- Published
- February 27, 2026, 16:44 UTC
- CVE record updated
- February 27, 2026, 18:27 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:24 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect openemr?
- Nov 23, 2026CVE-2026-134020 openemr: missing authorization
- Nov 13, 2026CVE-2026-126322 openemr: deserialization of untrusted data
- Nov 13, 2026CVE-2026-126415 openemr: missing authorization
- Nov 13, 2026CVE-2026-126416 openemr: improper authorization
- Nov 13, 2026CVE-2026-126418 openemr: cross-site scripting (XSS)
- Nov 13, 2026CVE-2026-126417 openemr: improper access control
- Nov 13, 2026CVE-2026-126419 openemr: missing authorization
- Nov 13, 2026CVE-2026-126421 openemr: denial of service (resources allocated without limits)
Questions about CVE-2026-25147
Is CVE-2026-25147 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of openemr are affected by CVE-2026-25147?
openemr < 8.0.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-25147?
8.0.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-25147?
High (7.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-25147?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.