CVE-2026-124476
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 va…
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data or systems being changed.
Affected products · Openemr
| Product | Affected versions |
|---|---|
| Openemr | before 8.3.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/openemr/openemr/security/advisories/GHSA-c9wg-vrr9-65wj
- https://www.vulncheck.com/advisories/openemr-before-8.3.0-idor-via-form-pid-in-portal-lib-paylib-php
- https://github.com/advisories/GHSA-m965-q963-p5wc
- https://nvd.nist.gov/vuln/detail/CVE-2026-124476