Skip to main content
← Vulnerabilities

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

5.4MediumCNA
Exploited
Proof of concept public, per CISA
Fix
Fixed in 8.3.0
Who is exposed
Not reported

Do first: Upgrade to a fixed version: 8.3.0.

Published
Last modified
23/100 · provisional
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

OpenEMR's Weno e-prescribing module has a flaw in its file_download.php script that lets a remote attacker with a low-privilege login delete the contents of the pharmacy directory table, leaving the e-prescribing pharmacy directory empty and unavailable. The flaw lacks the access and cross-site request checks needed to block this, so a logged-in user's browser can also be used to trigger it.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original 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.

cve.now Index

23Pcve.now Index 23 of 100 · methodology v3 · provisional
  • Exploitation15/40CISA rates a proof of concept as public
  • Exposure3/25Reachable over the network · Unknown: No advisory context yet
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity5.4/10CVSS 5.4
  • No patch0/5No signal

What would change the score

  • Would score about 63 if added to CISA KEV
  • Would score about 58 if CISA's SSVC rates exploitation active
  • Would score about 42 if advisories confirm default setups are exposed

What to do

  • Upgrade to a fixed version: 8.3.0.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • openemr openemr

    fixed in 8.3.0

Evidence 4

  1. Advisory
  2. Repository
  3. Repository
  4. Repository

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-103939

Is CVE-2026-103939 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by CVE-2026-103939?

openemr: before 8.3.0.Source: cve.now feed data

How do I fix CVE-2026-103939?

Upgrade to a fixed version: 8.3.0.Source: cve.now feed data