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.
Published: 2026-11-05
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: Data Loss and Service Disruption
Action: Patch ASAP
AI Analysis

Impact

The vulnerability occurs in the file_download.php script of the Weno module where no access control or CSRF verification is performed. Any authenticated user can invoke a request that calls PharmacyService::removeWenoPharmacies(), which truncates the weno_pharmacy database table. The result is an empty e‑prescribing pharmacy directory, effectively disabling delivery of prescriptions and causing data loss. Cross‑site requests from a logged‑in victim can also trigger the same operation, potentially affecting multiple users if the attacker can lure victims to a malicious site.

Affected Systems

This flaw exists in OpenEMR deployments prior to version 8.3.0 that have the Weno module enabled. The affected code is located under interface/modules/custom_modules/oe-module-weno/scripts/file_download.php. Only installations that include the Weno module and grant users authentication are at risk.

Risk and Exploitability

The CVSS score is 5.4, indicating a moderate severity. No EPSS score is published, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no widespread exploitation so far. Attackers would need authenticated access or the ability to forge a request from a logged‑in user. The absence of authorization checks makes the flaw straightforward to exploit once authentication is obtained, though it does not allow arbitrary code execution.

Generated by OpenCVE AI on November 5, 2026 at 21:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.3.0 or later where the issue is fixed
  • If the upgrade cannot be performed immediately, disable or uninstall the Weno module until a patched version is available
  • Restrict access to the file_download.php endpoint by applying proper ACL checks so that only authorized administrative users can execute the deletion operation
  • Implement monitoring for sudden deletions of pharmacy records and alert security staff

Generated by OpenCVE AI on November 5, 2026 at 21:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 05 Nov 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title OpenEMR: Weno `file_download.php`: missing ACL/CSRF truncates the e-prescribing pharmacy directory
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-05T21:04:29.778Z

Reserved: 2026-10-01T14:20:19.156Z

Link: CVE-2026-103939

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-05T20:17:38.510

Modified: 2026-11-05T21:18:34.773

Link: CVE-2026-103939

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T21:30:17Z

Weaknesses