Authorization bypass through user-controlled key in OpenEMR - CVE-2026-32120
Published: April 30, 2026
OpenEMR
Detailed vulnerability description
The vulnerability allows a remote user to modify or delete arbitrary patients' drug sale records.
The vulnerability exists due to authorization bypass through a user-controlled key in the fee sheet product save logic in library/FeeSheet.class.php when processing user-supplied sale_id values from fee sheet form data. A remote user can submit a specially crafted fee sheet request with a manipulated hidden prod[][sale_id] field to modify or delete arbitrary patients' drug sale records.
The issue affects users with fee sheet ACL access, and sale_id values can be enumerated because they are auto-increment integers.