Skip to content
Threat Feed
high advisory

Arbitrary File Deletion in WP File Download Plugin

The WP File Download plugin for WordPress contains a path traversal vulnerability in its file save and delete functions, allowing authenticated subscribers to delete arbitrary files on the server, potentially leading to remote code execution.

CVE search metadata

CVE search record: CVE-2026-14982. Severity: high. CVSS: 8.1. KEV: no. Product: WP File Download (all versions). Brief: Arbitrary File Deletion in WP File Download Plugin. Brief link: https://feed.craftedsignal.io/briefs/2026-09-wp-file-download-traversal/

The WP File Download plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient input validation in its file management functions. An authenticated attacker with subscriber-level access can exploit this flaw to delete files outside the intended directories, including critical WordPress configuration files such as wp-config.php. The vulnerability persists across all plugin versions, highlighting a lack of capability checks and nonce enforcement in the 'file.save' and 'file.delete' AJAX endpoints. Successful exploitation could allow an attacker to delete the wp-config.php file, triggering a re-installation process that may lead to site compromise or complete remote code execution. Defenders should prioritize auditing web server access logs for anomalous POST requests directed at these specific plugin endpoints.

Attack Chain

  1. Attacker authenticates as a user with at least subscriber-level privileges on the WordPress site.
  2. Attacker crafts an HTTP POST request targeting the plugin's 'file.save' endpoint.
  3. The request includes a path traversal payload within the file metadata or path parameter.
  4. The plugin application fails to sanitize the input, persisting the malicious path string into the plugin's internal database/metadata store.
  5. Attacker sends a second HTTP POST request targeting the 'file.delete' endpoint.
  6. The application retrieves the malicious metadata and passes the path-traversed string to an unvalidated 'unlink' system call.
  7. The system deletes the specified sensitive file, such as 'wp-config.php'.
  8. The application is rendered in an uninitialized state, allowing the attacker to re-configure the WordPress instance or achieve full system compromise.

Impact

Successful exploitation results in the permanent loss of arbitrary files on the server hosting the WordPress installation. In the context of WordPress, the deletion of 'wp-config.php' forces the application to revert to its initial setup state, facilitating remote code execution or complete takeover of the web application by unauthorized parties.

Recommendation

Prioritize the immediate removal or disabling of the WP File Download plugin until a vendor patch is applied to enforce capability and nonce validation. Monitor web server logs for high-frequency or unauthorized POST requests to 'admin-ajax.php' involving 'file.save' and 'file.delete' tasks.


Immediate actions

Deploy the Sigma detection rule to monitor web server logs for traversal sequences in task-based requests

Detection Engineering 24h

Mitigations

Disable the WP File Download plugin until a vendor-validated update is released

immediate IT Operations

CVE-2026-14982

Detection coverage 1

Detect CVE-2026-14982 Exploitation - Arbitrary File Deletion Attempt

high

Detects exploitation attempts against the WP File Download plugin where attackers POST to file management endpoints with path traversal indicators.

sigma tactics: initial_access techniques: T1485 sources: webserver

Detection queries are available on the platform. Get full rules →