---
id: CVE-2026-103939
title: >-
  OpenEMR: Weno `file_download.php`: missing ACL/CSRF truncates the
  e-prescribing pharmacy directory
summary: >-
  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 r…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L'
cvssSource: cna
cwe:
  - CWE-862
vendor: openemr
product: openemr
affected:
  - openemr < 8.3.0
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T21:04:08.566877Z'
exploitAvailable: true
published: '2026-11-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:04:29.778Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-103939'
references:
  - url: 'https://github.com/openemr/openemr/security/advisories/GHSA-xhv3-qr55-56h3'
    label: 'https://github.com/openemr/openemr/security/advisories/GHSA-xhv3-qr55-56h3'
  - url: 'https://github.com/openemr/openemr/pull/13197'
    label: 'https://github.com/openemr/openemr/pull/13197'
  - url: >-
      https://github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21b
    label: >-
      https://github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21b
  - url: 'https://github.com/openemr/openemr/releases/tag/v8_3_0'
    label: 'https://github.com/openemr/openemr/releases/tag/v8_3_0'
tags:
  - cve.org
  - exploit-available
ingestedAt: '2026-11-05T22:38:31.979Z'
---

## Overview

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

- `openemr < 8.3.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
