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.
References
| Link | Resource |
|---|---|
| https://github.com/openemr/openemr/commit/c5b4dd8caf2af70617cc58d39188621ed90543dc | Patch |
| https://github.com/openemr/openemr/releases/tag/v8_0_0_3 | Product |
| https://github.com/openemr/openemr/security/advisories/GHSA-pvvj-mv7h-7847 | Exploit Vendor Advisory |
| https://github.com/openemr/openemr/security/advisories/GHSA-pvvj-mv7h-7847 | Exploit Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-03-25 23:17
Updated : 2026-03-26 18:03
NVD link : CVE-2026-32120
Mitre link : CVE-2026-32120
CVE.ORG link : CVE-2026-32120
JSON object : View
Products Affected
open-emr
- openemr
CWE
CWE-639
Authorization Bypass Through User-Controlled Key
