CVE-2026-134987 in File Upload Plugin
Summary
by MITRE • 11/27/2026
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Nickboss WordPress File Upload wp-file-upload allows Path Traversal.This issue affects WordPress File Upload: from n/a through 5.3.1.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/27/2026
The identified security flaw represents a critical path traversal vulnerability within the Nickboss WordPress plugin known as WP-File-Upload, specifically affecting versions ranging from its initial release up to version 5.3.1. This type of vulnerability falls under the category of Improper Limitation of a Pathname to a Restricted Directory, which is formally classified in the Common Weakness Enumeration (CWE) database as CWE-22: Improper Limitation of a Pathname to a Restricted Directory. The core technical issue stems from insufficient validation and sanitization of user-supplied input when handling file uploads or directory navigation requests within the plugin's administrative interface or public-facing endpoints. By manipulating pathname parameters, an attacker can construct malicious paths that escape the intended upload directory boundaries, allowing access to arbitrary files on the underlying web server filesystem.
From a technical perspective, this vulnerability exploits the lack of rigorous checks against relative path sequences such as dot-dot-slash (../) or absolute path injections in filenames provided during file operations. When the application processes these inputs without properly canonicalizing the paths or restricting them to a predefined safe directory, it permits the reading or writing of files outside the designated scope. This failure allows an attacker to traverse up the directory tree from the web root into sensitive system directories where configuration files, database credentials, source code for other plugins, and potentially operating system-level files reside. The severity is compounded by the fact that WordPress sites often run with permissions that allow web server processes to read a wide array of local resources, making this traversal particularly dangerous in shared hosting environments or poorly configured servers.
The operational impact of exploiting this path traversal vulnerability can be severe and multifaceted depending on the specific file accessed and the context in which it is utilized. An attacker could potentially download sensitive configuration files such as wp-config.php to extract database passwords and authentication keys, leading to a complete compromise of the website's data integrity and confidentiality. Furthermore, if the plugin allows for any form of write operation or includes features that interact with uploaded file metadata, an attacker might overwrite critical system files or inject malicious content into existing scripts. This can serve as a precursor to remote code execution (RCE), where the attacker leverages access to include local files in PHP processing contexts, thereby gaining full control over the web server. Such actions align closely with ATT&CK technique T1083: File and Directory Discovery, followed potentially by T1505.002: Web Shell as a follow-on effect if write capabilities are present or combined with other vulnerabilities like arbitrary file upload.
Mitigation strategies for this vulnerability require immediate action to ensure the security posture of affected WordPress installations is restored. The primary recommendation is to upgrade the WP-File-Upload plugin to version 5.3.2 or later, where the developers have presumably implemented proper input validation and path canonicalization checks to prevent directory traversal attacks. In cases where upgrading is not immediately feasible due to compatibility constraints with other site components, administrators should consider disabling the plugin entirely until a secure alternative can be deployed. Additionally, web server configurations such as Apache's mod_security or Nginx rulesets can be updated to detect and block requests containing path traversal sequences like ../ in query parameters or file names. It is also advisable to enforce strict filesystem permissions on the WordPress installation directory, ensuring that the web user has only read access to core files and limited write access strictly to designated upload directories, thereby reducing the blast radius even if a vulnerability is exploited. Regular security audits and monitoring of server logs for unusual path traversal attempts are essential components of a defense-in-depth strategy against such persistent threats.