Vulnerability · Published Mar 25, 2026 · Assigned by GitHub_M
CVE-2026-32120OpenEMR has IDOR in Fee Sheet Product Save
Medium 6.5
In plain English
A medium-severity authorization bypass via user-controlled key in openemr from openemr. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities).
Official description
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.3, an Insecure Direct Object Reference (IDOR) vulnerability in the fee sheet product save logic (`library/FeeSheet.class.php`) allows any authenticated user with fee sheet ACL access to delete, modify, or read `drug_sales` records belonging to arbitrary patients by manipulating the hidden `prod[][sale_id]` form field. The `save()` method uses the user-supplied `sale_id` in five SQL queries (SELECT, UPDATE, DELETE) without verifying that the record belongs to the current patient and encounter. Version 8.0.0.3 contains a patch.
Affected products (as reported)
Weakness: CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/openemr/openemr/security/advisories/GHSA-pvvj-mv7h-7847 x_refsource_CONFIRM
- https://github.com/openemr/openemr/commit/c5b4dd8caf2af70617cc58d39188621ed90543dc x_refsource_MISC
- https://github.com/openemr/openemr/releases/tag/v8_0_0_3 x_refsource_MISC