{"id":"CVE-2026-103939","state":"PUBLISHED","title":"OpenEMR: Weno `file_download.php`: missing ACL/CSRF truncates the e-prescribing pharmacy directory","description":"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.","publishedAt":"2026-11-05T20:02:37.676Z","updatedAt":"2026-11-05T21:04:29.778Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["openemr openemr"],"affected":[{"vendor":"openemr","product":"openemr","versions":[{"version":"< 8.3.0","status":"affected"}]}],"references":["https://github.com/openemr/openemr/security/advisories/GHSA-xhv3-qr55-56h3","https://github.com/openemr/openemr/pull/13197","https://github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21b","https://github.com/openemr/openemr/releases/tag/v8_3_0"],"weaknesses":["CWE-862"],"ingestedAt":"2026-11-05T21:16:05.809Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/103xxx/CVE-2026-103939.json","commit":"e34687ce055665b714507e2f432ed381a402673f","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-103939","state":"PUBLISHED","datePublished":"2026-11-05T20:02:37.676Z","dateUpdated":"2026-11-05T21:04:29.778Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-01T14:20:19.156Z"},"containers":{"cna":{"title":"OpenEMR: Weno `file_download.php`: missing ACL/CSRF truncates the e-prescribing pharmacy directory","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"openemr","product":"openemr","versions":[{"version":"< 8.3.0","status":"affected"}]}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-xhv3-qr55-56h3","name":"https://github.com/openemr/openemr/security/advisories/GHSA-xhv3-qr55-56h3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openemr/openemr/pull/13197","name":"https://github.com/openemr/openemr/pull/13197","tags":["x_refsource_MISC"]},{"url":"https://github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21b","name":"https://github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21b","tags":["x_refsource_MISC"]},{"url":"https://github.com/openemr/openemr/releases/tag/v8_3_0","name":"https://github.com/openemr/openemr/releases/tag/v8_3_0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","description":"CWE-862: Missing Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-05T20:02:37.676Z"},"source":{"advisory":"GHSA-xhv3-qr55-56h3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-xhv3-qr55-56h3","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-05T21:04:08.566877Z","id":"CVE-2026-103939","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-05T21:04:29.778Z"}}]}}}