CVE-2026-103939 OpenEMR: Weno `file_download.php`: missing ACL/CSRF truncates the e-prescribing pharmacy directory
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- PHP
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| open-emr openemr | < 8.3.0 | 8.3.0 | Fixed |
| openemr | = < 8.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | = < 8.3.0 | No fix listed |
| open-emr openemr | < 8.3.0 | 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
- ENISA EUVD EUVD-2026-117774 third-party-advisory