Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconSelf-register subscriber account on target WordPress site
-
DeliveryPOST path-traversal string to file.save AJAX endpoint
-
ExploitTraversal path persisted in file metadata
-
InstallPOST file.delete request invoking unlink() on stored path
-
C2wp-config.php deleted, WordPress enters setup mode
-
ExecuteAttacker reconfigures database connection
-
ImpactFull administrative site takeover achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid WordPress user account at subscriber level or above - the lowest role assigned by default to registered users on any WordPress site with membership enabled. Both the file.save and file.delete AJAX endpoints lack WordPress nonce verification and capability checks, so no elevated role, plugin-specific permission, or special configuration is needed beyond a valid authenticated session cookie. The exploit is a two-stage HTTP sequence: the first request to file.save persists the attacker-controlled path-traversal string into file metadata, and the second request to file.delete triggers the unlink() call against that stored path - no race condition or timing dependency exists between the two stages. No non-default plugin configuration or feature flag is required; the vulnerable code paths are active whenever the plugin is installed and active. Exploitation is limited to authenticated sessions; sites that disable new user registration or remove subscriber-role assignment from the default flow meaningfully reduce external attacker access. The unlink() call is bounded by the filesystem permissions of the web server process, so files owned by root and not writable by www-data cannot be deleted. |
| Impact | The CVSS 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H) accurately characterizes the low-friction exploitation path, but the scored I:H/A:H understates real-world blast radius: deletion of wp-config.php forces WordPress into setup mode and allows the attacker to redirect the database connection, effectively achieving unauthenticated remote code execution post-deletion - pushing the practical severity toward critical. The subscriber-level prerequisite (PR:L) is a meaningful but thin barrier; any WordPress installation with open user registration trivially hands an attacker the required credential, and even a mid-sized municipal IT team in olsztyn operating a public-facing WordPress site should treat this as urgent given the minimal access threshold. No CISA KEV listing exists and no public exploit code has been confirmed, which moderates immediate mass-exploitation risk, but the Wordfence advisory's detailed description of the two-step mechanism substantially lowers the time-to-exploit for motivated actors. The absence of nonce and capability enforcement on both endpoints is particularly damaging because it bypasses the compensating controls that WordPress administrators typically rely on. |
| Exploit ScenarioDerived | An attacker self-registers a free subscriber account on a public WordPress site running WP File Download, then issues a crafted POST to the file.save AJAX endpoint with a path-traversal payload (e.g., ../../wp-config.php) embedded in the file metadata - the endpoint accepts it without nonce or capability validation. A subsequent POST to the file.delete AJAX endpoint triggers PHP unlink() on the stored traversal path, deleting wp-config.php; WordPress then enters database setup mode, allowing the attacker to connect a controlled database and gain full administrative code execution. No confirmed public exploit code exists, but the complete two-request sequence is described in the Wordfence advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 02, 2026
Arbitrary file deletion in the WP File Download WordPress plugin (all versions, by JoomUnited) allows any authenticated subscriber-level user to delete files outside the plugin's intended directory, with trivial escalation to remote code execution by targeting wp-config.php. The vulnerability stems from two AJAX endpoints - file.save and file.delete - that lack both WordPress capability checks and nonce enforcement, permitting the two-stage exploit chain against any authenticated session. No public exploit code has been confirmed at time of analysis, but the Wordfence advisory describes the precise two-request mechanism in sufficient detail to enable rapid weaponization.
RemediationAI
Update WP File Download to the latest available version immediately via the JoomUnited changelog at https://www.joomunited.com/changelog/wp-file-download-changelog; an exact patched version cannot be independently confirmed from the available data, so verify directly with the vendor before deploying. As an immediate compensating control, disable open user registration on affected WordPress sites (Settings > General > Membership) to eliminate the subscriber-level entry point for external attackers - note this prevents new account self-registration site-wide. Additionally, apply OS-level write protection to wp-config.php (e.g., chmod 444 or chattr +i on Linux) to block the highest-impact deletion scenario; be aware this may interfere with WordPress auto-updates and some caching plugins that require write access. Web Application Firewalls should be configured to detect and block HTTP POST requests containing path-traversal sequences (../) in body parameters targeting the wp-admin/admin-ajax.php file.save and file.delete actions. Restricting the web server process to the minimum necessary filesystem permissions (principle of least privilege) limits the scope of any successful unlink() call.
Affected VersionsENISA
Affected Packages
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
WP File Download (cpe:2.3:a:joomunited:wp_file_download) is a commercial JoomUnited WordPress plugin for managing file download libraries. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): the file.save AJAX task accepts and persists a path-traversal string (e.g., ../../wp-config.php) into file metadata without sanitization or boundary normalization. When the file.delete AJAX task subsequently invokes PHP's unlink() on the stored path, the unsanitized traversal string resolves to an arbitrary server path relative to the web root. Neither endpoint enforces standard WordPress capability checks (such as manage_options or a plugin-specific capability) nor validates a WordPress nonce, meaning the standard WordPress privilege model provides no protection - any valid authenticated session at subscriber level or above is sufficient to invoke both tasks.
Know when Wp File Download 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
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Network-accessible AJAX endpoints require only a valid subscriber session (PR:L); path-traversal-driven unlink() achieves I:H and A:H with no confidentiality exposure and unchanged scope.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The WP File Download plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete function in all versions. This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). The two-stage exploit requires a first request to the file.save task to persist the path-traversal string into file metadata, followed by a second request to the file.delete task to trigger the unlink call - both endpoints lack capability checks and nonce enforcement.
Articles & Coverage 1
Executive ViewAI
The WP File Download plugin by JoomUnited (all versions) contains a critical file deletion vulnerability allowing any authenticated subscriber to delete core WordPress files including wp-config.php, enabling remote code execution. Every WordPress site using this plugin faces immediate compromise risk from subscriber-level user accounts, which are commonly created for standard users and contributors.
Immediately disable and remove the WP File Download plugin. Restrict subscriber role capabilities through WordPress access control plugins or WAF-based filtering. Deploy file integrity monitoring on wp-config.php and other critical files using OS tools (auditd, osquery, HIDS). Enforce restrictive file permissions (wp-config.php should be readable only by web server). Mandate multi-factor authentication for all WordPress accounts. Implement AJAX endpoint rate limiting and access restrictions for non-administrators. No vendor-released patch identified at time of analysis. No public exploit identified at time of analysis, though the Wordfence advisory describes the exploitation mechanism in sufficient detail to enable rapid weaponization.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Wp File Download
View allCVE-2025-5034 is a Reflected Cross-Site Scripting (XSS) vulnerability in the wp-file-download WordPress plugin versions
Authorization bypass in the JoomUnited WP File Download plugin for WordPress (all versions up to and including 6.3.9) al
Unauthenticated cross-site scripting (XSS) in the WP File Download WordPress plugin (versions up to and including 6.3.6)
Directory traversal in JoomUnited's WP File Download WordPress plugin (all versions through 6.3.8) enables server-side f
EUVD-2026-69821
GHSA-gccv-v436-7783
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB