Authorization bypass through user-controlled key in OpenEMR - #VU143982
Published: August 18, 2026
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information and modify another patient's portal activity record.
The vulnerability exists due to authorization bypass through a user-controlled key in OnsitePortalActivityController::Update() when handling PUT requests to /portal/patient/api/onsiteportalactivity/{id}. A remote user can send a specially crafted request with another patient's activity id to disclose sensitive information and modify another patient's portal activity record.
Fields omitted from the request body can retain and return values from the loaded victim record, including tableArgs and checksum.