Authorization bypass through user-controlled key in OpenEMR - CVE-2026-124462
Published: August 18, 2026 / Updated: November 10, 2026
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to improper access control in OnsiteDocumentController::Query() when handling requests with a case-variant Pid parameter. A remote user can supply a crafted Pid parameter to disclose sensitive information.
The issue bypasses the portal pid authorization guard because the guard checks lowercase pid and patientId while request keys are later capitalized and used to overwrite the session-pinned patient identifier. This can expose other patients' onsite documents and PHI.