{"id":"CVE-2026-102940","summary":"OpenEMR: Missing Write ACL Allows Unauthorized Document Reassignment","details":"OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.4.0, controllers/C_Document.class.php write actions, including move_action_process(), do not verify the caller's access to the source document, current patient and category, or destination patient and category before Document::change_patient() performs the mutation. A low-privilege authenticated user can reassign an arbitrary document to a patient or category the user can access and then retrieve it through the normally protected read path. The reassignment occurs before a later list rendering check, so a final HTTP 403 response does not mean the unauthorized write was blocked. This issue is fixed in version 8.4.0.","aliases":["GHSA-92rh-g949-4mvv"],"modified":"2026-11-12T02:45:49.505544518Z","published":"2026-11-05T20:07:31.499Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102940.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-639"]},"references":[{"type":"WEB","url":"https://github.com/openemr/openemr/releases/tag/v8_3_0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102940.json"},{"type":"ADVISORY","url":"https://github.com/openemr/openemr/security/advisories/GHSA-92rh-g949-4mvv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102940"},{"type":"FIX","url":"https://github.com/openemr/openemr/commit/312b5d042f7fa49cc78ebed041155fba339a991c"},{"type":"FIX","url":"https://github.com/openemr/openemr/pull/13353"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"0"},{"fixed":"53d885e56d4772b4e48810a1f98531c5d19a934d"},{"fixed":"312b5d042f7fa49cc78ebed041155fba339a991c"},{"fixed":"ebb62eb3036a726314ab3e1c3e9263a41608b17b"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"8.4.0"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"312b5d042f7fa49cc78ebed041155fba339a991c"}]},{"range":[{"fixed":"ebb62eb3036a726314ab3e1c3e9263a41608b17b"}],"source":"REFERENCES_TAG","original_tag":"v8_3_0"}]}}],"versions":["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-102940.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"}]}