# CVE-2026-103939: OpenEMR: Weno `file_download.php`: missing ACL/CSRF truncates the e-prescribing pharmacy directory

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-05T20:02:37.676Z
- Modified: 2026-11-10T19:15:05.840Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- openemr openemr: < 8.3.0
- open-emr openemr: before 8.3.0

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-xhv3-qr55-56h3> (exploit, mitigation, vendor-advisory)
- <https://github.com/openemr/openemr/pull/13197> (issue-tracking, patch)
- <https://github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21b> (patch)
- <https://github.com/openemr/openemr/releases/tag/v8_3_0> (product, release-notes)

## Sources

- CVE List: [CVE-2026-103939](https://www.cve.org/CVERecord?id=CVE-2026-103939), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-103939](https://nvd.nist.gov/vuln/detail/CVE-2026-103939), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-103939 · Whole record: https://cve.day/CVE-2026-103939.json · Rebuilt by cve.day 2026-11-25T22:59:49.165Z
