{"id":"CVE-2026-103939","summary":"OpenEMR: Weno `file_download.php`: missing ACL/CSRF truncates the e-prescribing pharmacy directory","details":"OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.3.0, interface/modules/custom_modules/oe-module-weno/scripts/file_download.php has no ACL or CSRF check and ignores the result of validateAdminCredentials(). When the Weno module is enabled, the default GET path calls PharmacyService::removeWenoPharmacies() before attempting a refetch, allowing any authenticated user to truncate the weno_pharmacy table and allowing a cross-site request to trigger the same operation through a logged-in victim. A failed later download can leave the e-prescribing pharmacy directory empty and unavailable. This issue is fixed in version 8.3.0.","aliases":["GHSA-xhv3-qr55-56h3"],"modified":"2026-11-12T02:46:48.699514516Z","published":"2026-11-05T20:02:37.676Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103939.json"},"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/103xxx/CVE-2026-103939.json"},{"type":"ADVISORY","url":"https://github.com/openemr/openemr/security/advisories/GHSA-xhv3-qr55-56h3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103939"},{"type":"FIX","url":"https://github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21b"},{"type":"FIX","url":"https://github.com/openemr/openemr/pull/13197"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"0"},{"fixed":"ebb62eb3036a726314ab3e1c3e9263a41608b17b"},{"fixed":"f760adc7bddaf9d118e1a0d40590e686783ed21b"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"8.3.0"}]},{"range":[{"fixed":"f760adc7bddaf9d118e1a0d40590e686783ed21b"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"v8_3_0","range":[{"fixed":"ebb62eb3036a726314ab3e1c3e9263a41608b17b"}]}]}}],"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-103939.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"}]}