---
id: "CVE-2026-124476"
page: "https://infrastack.ai/live/CVE-2026-124476"
kind: "vulnerability"
aliases: ["CVE-2026-124476"]
title: "OpenEMR: authenticated patients can forge payment records for other patients"
severity: "high"
cvss: 7.1
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "other", "php", "self-hosted"]
not_affected_if: ["patient-portal-disabled", "version-8.3.0-or-later"]
published_at: "2026-11-08T14:18:16+00:00"
first_seen_at: "2026-11-08T14:48:41+00:00"
updated_at: "2026-11-08T14:49:33+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124476", "first_seen_at": "2026-11-08T14:48:41+00:00"}]
exploit_sources: []
---

# OpenEMR: authenticated patients can forge payment records for other patients

Link for people: https://infrastack.ai/live/CVE-2026-124476 (this .md is for agents)

OpenEMR, an electronic health records system, lets a logged-in patient portal user submit a patient ID that is not checked against their own session. An attacker can insert or change payment-audit records in other patients' billing data.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the OpenEMR version with the installed `version.php` or the admin About page; versions before `8.3.0` are affected
- Confirm whether the patient portal is enabled for patients (portal settings in the admin panel)

## Fix

- OpenEMR: move to `8.3.0` or later

## Timeline

- 2026-11-08T14:48:41+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124476

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-c9wg-vrr9-65wj
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.3.0-idor-via-form-pid-in-portal-lib-paylib-php

## From the sources

OpenEMR before 8.3.0 contains an insecure direct object reference in portal/lib/paylib.php, which writes the request-supplied form_pid (or the patient_id_cc value in Sphere data) to onsite_portal_activity without checking it against the session patient. Authenticated portal patients can submit portal-save, review-save, AuthorizeNet, Stripe, or Sphere requests to insert or modify forged payment-audit records in other patients' billing records.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
