Authorization bypass through user-controlled key in OpenEMR - #VU143995
Published: August 18, 2026
Vulnerability details
The vulnerability allows a remote user to modify another patient's prior-authorization records.
The vulnerability exists due to insecure direct object reference in public/index.php and storeAuthorizationInfo() when processing update requests with a user-supplied record id. A remote user can submit a crafted request referencing another patient's row id to modify another patient's prior-authorization records.
The update operation matches records by id alone, while pid is taken from the session and not used to constrain the target row. Exploitation is reachable only when the custom module is installed and enabled.