CVE-2026-103939
OpenEMR: Weno `file_download.php`: missing ACL/CSRF truncates the e-prescribing pharmacy directory
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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| openemr openemr |
< 8.3.0 (affected) | CNA: GitHub_M |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 5.4 medium |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L | CNA: GitHub_M |
Exploit evidence
- https://github.com/openemr/openemr/security/advisories/GHSA-xhv3-qr55-56h3
exploit · ADP: CISA-ADP
References
- https://github.com/openemr/openemr/security/advisories/GHSA-xhv3-qr55-56h3CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/openemr/openemr/pull/13197CNA: GitHub_M · x_refsource_MISC
- https://github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21bCNA: GitHub_M · x_refsource_MISC
- https://github.com/openemr/openemr/releases/tag/v8_3_0CNA: GitHub_M · x_refsource_MISC
- https://github.com/openemr/openemr/security/advisories/GHSA-xhv3-qr55-56h3ADP: CISA-ADP · exploit
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.