Improper access control in OpenEMR - #VU144006
Published: August 18, 2026
Vulnerability details
The vulnerability allows a remote user to modify other patients' portal activity records.
The vulnerability exists due to improper access control in the OnsitePortalActivityController Update() method when handling PUT requests to the patient portal onsite portal activity endpoint. A remote user can send a crafted PUT request with their own patientId in the JSON body while targeting another patient's activity record ID in the URL path to modify other patients' portal activity records.
The issue can also result in reassignment of record ownership and affects data integrity, audit trails, and clinical workflows within the patient portal environment.