Skip to main content

OpenEMR EUVDEUVD-2026-117774

| CVE-2026-103939 MEDIUM
Missing Authorization (CWE-862)
2026-11-05 GitHub_M
5.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as any low-privilege user (or target logged-in victim)
  2. Delivery
    Send GET to file_download.php with daily omitted
  3. Exploit
    Missing ACL/CSRF check passes request
  4. Execution
    removeWenoPharmacies() runs TRUNCATE TABLE weno_pharmacy
  5. Impact
    Pharmacy directory emptied, e-prescribing lookup unavailable

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the Weno eRx module to be installed and enabled - globals.php denies scripts under a disabled custom module, so the endpoint is unreachable on default installs without Weno, and the module's log/pharmacy tables must exist (provided by its normal install). Given that precondition, the direct path needs only any authenticated OpenEMR session, even one in an ACL group with no Weno permission, issuing a GET to scripts/file_download.php with the daily parameter omitted or set to 'N'. The CSRF path removes even the attacker-authentication requirement, needing instead a logged-in victim (including an admin) to load attacker-controlled content that fires the token-less GET. Limiting factors: the Weno module must be active, the victim/attacker must hold a valid session, and impact is confined to the weno_pharmacy lookup table (recoverable by a successful refetch when Weno is configured and reachable; persistent only when refetch fails).

Impact

This is a genuine but moderate-severity integrity/availability issue, not a high-impact emergency. The vendor CVSS of 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L) is consistent with the mechanism: a network-reachable, low-complexity, low-privilege action that destroys data (TRUNCATE of weno_pharmacy) with no confidentiality exposure and only partial integrity/availability impact. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with the medium severity. No EPSS score and no CISA KEV entry are present in the input, so there is no signal of active exploitation - treat exploitation status as 'no public exploit identified as weaponized code' while noting a detailed, reproduction-verified PoC does exist in the GHSA advisory (demonstrated on master at commit 1d39d67). The PR:L in the vector marks this as authenticated: direct exploitation requires any logged-in OpenEMR user, while the CSRF path only needs a logged-in victim (including an admin) to visit attacker content. A key limiting condition the raw CVSS does not capture is that exploitation requires the Weno eRx module to be installed and enabled - globals.php denies scripts under a disabled custom module. Net: a real, worth-patching access-control/CSRF defect with low blast radius (a single lookup table that can usually be refetched), prioritized appropriately as a monthly-cadence fix rather than a drop-everything item.

Exploit ScenarioDerived

On an OpenEMR install with the Weno eRx module enabled, a low-privilege authenticated user (no Weno permission) sends a single GET to file_download.php with the daily parameter omitted; the script runs removeWenoPharmacies() → TRUNCATE TABLE weno_pharmacy before the download step, wiping the e-prescribing pharmacy directory. Alternatively, because the endpoint is a token-less GET with no CSRF check, an attacker lures a logged-in victim (potentially an admin) to a page that auto-fires the request, truncating the table through the victim's session. A reproduction-verified PoC exists in the GHSA advisory (3 rows → 0 rows, HTTP 500 from the later failing step), though it is not packaged as a standalone weaponized exploit.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Missing authorization and CSRF protection in OpenEMR's Weno e-prescribing module (interface/modules/custom_modules/oe-module-weno/scripts/file_download.php) lets any authenticated user - or, via a cross-site request, any logged-in victim including an administrator - wipe the e-prescribing pharmacy directory by issuing a GET that reaches PharmacyService::removeWenoPharmacies() and its TRUNCATE TABLE weno_pharmacy statement. Only deployments running OpenEMR before 8.3.0 with the Weno eRx module installed and enabled are reachable; the endpoint is blocked by globals.php when the module is disabled, and the module's tables must exist. Impact is limited to integrity and availability of the weno_pharmacy lookup table (CVSS 5.4, PR:L), which can stay empty and unavailable if the subsequent refetch fails; the vendor advisory includes verified proof-of-concept reproduction steps, but there is no confirmed active exploitation or CISA KEV listing, and this is a moderate-severity integrity/availability issue rather than a high-impact emergency.

RemediationAI

Upgrade to OpenEMR 8.3.0, which contains the upstream fix (PR 13197, commit f760adc7bddaf9d118e1a0d40590e686783ed21b): file_download.php now requires AclMain::aclCheckCore('admin', 'super'), enforces CsrfUtils::checkCsrfInput() on the GET request, and the calling download_log_viewer.php template passes a csrf_token_form parameter. Where upgrading immediately is not possible, the actionable compensating control is to disable the Weno e-prescribing module, which makes globals.php refuse requests to scripts under the custom module and removes the reachable truncate path - the trade-off is loss of Weno e-prescribing and pharmacy-directory functionality for all users, and any already-truncated weno_pharmacy table must be repopulated by a successful refetch once Weno is configured and reachable. Additionally, restrict network access to the /interface/modules/custom_modules/oe-module-weno/scripts/ path (for example at the reverse proxy) so only trusted administrative source addresses can reach it, accepting that legitimate administrative download-log workflows must originate from those addresses. A successful refetch restores the directory; when Weno is unconfigured or unreachable the loss is persistent, so verify weno_pharmacy is repopulated after any suspected trigger. Advisory and release notes: https://github.com/openemr/openemr/security/advisories/GHSA-xhv3-qr55-56h3 and https://github.com/openemr/openemr/releases/tag/v8_3_0.

Affected VersionsENISA

OpenEMR < 8.3.0

Affected Packages

euvd openemr fix: 8.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-862 missing authorization defect compounded by a CWE-352 cross-site request forgery exposure in OpenEMR's PHP-based custom module framework. file_download.php loads globals.php, which enforces only a session/login check - and a global module-on/off gate for scripts under custom modules - then calls WenoValidate::validateAdminCredentials(). Despite its name, that method only verifies or resets the stored Weno encryption key; it performs no AclMain::aclCheckCore() ACL evaluation, and its return value is discarded. No CsrfUtils token is validated anywhere in the file. On the default GET path (daily omitted or set to 'N'), the script invokes PharmacyService::removeWenoPharmacies(), which executes TRUNCATE TABLE weno_pharmacy - and this truncate commits before the later outbound pharmacy download runs, so a failed download leaves the live directory empty. Sibling scripts in the same module (weno_pharmacy_search.php and update_pharmacy.php gate on patients/rx plus CSRF, weno_setup.php on admin/super) show the intended control was simply omitted here. The trigger is a plain token-less GET; no special request structure or timing condition is described in the sources beyond the module-enabled precondition.

Know when Openemr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
vuln.today AI 5.4 MEDIUM

Network-reachable GET (AV:N), no special complexity once the module is enabled (AC:L), any authenticated user suffices (PR:L); no data disclosure (C:N) but table truncation gives partial integrity/availability loss (I:L/A:L).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Lifecycle Timeline

1
Patch available
Nov 05, 2026 - 21:18 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Medium
leading open-source EHR but healthcare-specific; feature gated behind optional Weno module
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2013-10044 HIGH POC
8.7 Aug 01

An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to

CVE-2026-24898 CRITICAL POC
10.0 Mar 03

Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.

CVE-2026-24848 CRITICAL POC
9.9 Mar 03

Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.

CVE-2026-24849 CRITICAL POC
9.9 Feb 25

Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the

CVE-2026-24908 CRITICAL POC
9.9 Feb 25

SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the

CVE-2024-22611 CRITICAL POC
9.8 Apr 03

OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl

CVE-2024-37734 CRITICAL POC
9.8 Jun 26

An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par

CVE-2026-25146 CRITICAL POC
9.6 Mar 03

Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.

CVE-2026-39932 CRITICAL POC
9.4 Aug 03

Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so

CVE-2012-0992 HIGH POC
8.5 Feb 07

interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel

CVE-2026-124450 CRITICAL POC
9.3 Nov 08

Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms

CVE-2015-4453 MEDIUM
5.0 Jul 05

interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy