Authorization bypass through user-controlled key in OpenEMR - CVE-2026-32120

 

Authorization bypass through user-controlled key in OpenEMR - CVE-2026-32120

Published: April 30, 2026


Vulnerability identifier: #VU128540
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-32120
CWE-ID: CWE-639
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OpenEMR
Affected software:
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.


How to mitigate CVE-2026-32120

Install security update from vendor's website.

Sources