{"id":"CVE-2026-32120","summary":"OpenEMR has IDOR in Fee Sheet Product Save","details":"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.","aliases":["GHSA-pvvj-mv7h-7847"],"modified":"2026-09-14T03:45:37.718103700Z","published":"2026-03-25T22:27:38.208Z","database_specific":{"cwe_ids":["CWE-639"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32120.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/openemr/openemr/releases/tag/v8_0_0_3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32120.json"},{"type":"ADVISORY","url":"https://github.com/openemr/openemr/security/advisories/GHSA-pvvj-mv7h-7847"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32120"},{"type":"FIX","url":"https://github.com/openemr/openemr/commit/c5b4dd8caf2af70617cc58d39188621ed90543dc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"0"},{"fixed":"7c96c8eefe460d6fadbccbe93d0fa6bf819acd69"},{"fixed":"c5b4dd8caf2af70617cc58d39188621ed90543dc"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"8.0.0.3"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*"}}],"versions":["v8_0_0_2","v8_0_0_1","v8_0_0","v3_0_1","v3_0_0","v2_9_0","v2_8_3","v2_8_2","v2_8_1","v2_8_0","v2_7_3-rc1","v2_7_2","v2_7_2-rc2","v2_7_2-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32120.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}