Authorization bypass through user-controlled key in OpenEMR - CVE-2026-124476
Published: August 18, 2026 / Updated: November 10, 2026
Vulnerability details
The vulnerability allows a remote user to modify payment-audit records for other patients.
The vulnerability exists due to improper access control in portal/lib/paylib.php when handling payment-related portal requests that use the form_pid parameter or the patient_id_cc value from the Sphere data blob. A remote user can submit a specially crafted request with another patient's identifier to modify payment-audit records for other patients.
The issue affects multiple code paths, including AuthorizeNet, Stripe, Sphere, portal-save, and review-save, and the CSRF check is enforced, so exploitation uses the attacker's own valid token.