Summary
A vulnerability in WP Fastest Cache – WordPress Cache Plugin allows unauthenticated attackers to delete arbitrary files on the server. This affects versions up to 1.5.4, specifically when the Custom Permalinks or GeoDirectory plugins are also active. A patch is available in version 1.5.5. There is no evidence of active exploitation.
Affected and patched versions
WP Fastest Cache – WordPress Cache Plugin (plugin wp-fastest-cache): affected 1.5.4 and earlier; fixed in 1.5.5
Is my site vulnerable?
To determine if your WordPress site is vulnerable to CVE-2026-119114, you need to check the version of the WP Fastest Cache – WordPress Cache Plugin installed on your site.
Follow these steps to manually check your plugin version:
Log into your WordPress administration dashboard.
Navigate to the "Plugins" menu item, then select "Installed Plugins".
On the "Installed Plugins" page, locate "WP Fastest Cache".
The version number for the plugin will be displayed next to its name.
If your installed version is 1.5.4 or earlier, your site is potentially vulnerable.
Additionally, confirm if either the Custom Permalinks plugin or the GeoDirectory plugin is also installed and active on your site. The presence of one of these co-installed plugins is a prerequisite for this vulnerability to be exploitable.
If your site runs WP Fastest Cache version 1.5.4 or earlier, and either Custom Permalinks or GeoDirectory is active, your site is vulnerable.
What an attacker actually does
The vulnerability, identified as CVE-2026-119114, exists within the WP Fastest Cache – WordPress Cache Plugin. It is an arbitrary directory deletion flaw, specifically due to insufficient validation of file paths within the singleDeleteCache function. This function is designed to manage and clear cached content. However, versions up to and including 1.5.4 do not adequately scrutinize the paths provided to it.
An attacker can exploit this weakness by injecting a specially crafted path traversal sequence. This sequence, often involving ../ characters (or their percent-encoded equivalents), allows the attacker to break out of the intended directory for cache operations and target files or directories anywhere on the server's file system that the web server process has write permissions to.
Importantly, successful exploitation of this vulnerability is not standalone. It requires the co-installation of either the Custom Permalinks plugin or the GeoDirectory plugin. These specific plugins introduce a mechanism that allows an attacker to write a malicious permalink value into the WordPress database. WP Fastest Cache then retrieves and processes this database-stored permalink value without performing the necessary path validation. This lack of validation allows the embedded path traversal sequence to be interpreted by the singleDeleteCache function, directing it to delete files outside its intended scope.
The consequences of such arbitrary file deletion can be severe. By targeting critical files, an unauthenticated attacker can achieve remote code execution. For example, deleting the wp-config.php file, which contains database connection details and other vital configuration settings, would render the WordPress site inoperable. Upon its deletion, WordPress would typically present the installation wizard, allowing an attacker to potentially reconfigure the site, establish a new administrative user, or inject malicious code, thereby gaining full control over the compromised website. Other critical files could also be targeted, leading to site defacement, data loss, or further system compromise.
How to detect a compromise
Detecting a compromise related to CVE-2026-119114 primarily involves looking for anomalies indicative of unexpected file deletions or site misconfiguration. Since the vulnerability allows for arbitrary file deletion, the most direct signs of compromise would be the disappearance of critical WordPress files or the malfunction of the site due to missing components.
One of the most significant indicators would be if your WordPress site suddenly displays the installation screen, prompting you to set up WordPress as if it were a new installation. This often occurs if the wp-config.php file, which stores essential database connection information and other core settings, has been deleted. If you encounter this screen unexpectedly, it warrants immediate investigation.
Administrators should also review their web server error logs (e.g., Apache error logs, Nginx error logs) and PHP error logs. Look for entries indicating file not found errors for core WordPress files, or permissions errors related to file deletion attempts that might have failed. Unusual activity, such as a sudden increase in 404 errors for previously existing files, or server responses indicating internal errors, could also be a symptom. Pay close attention to timestamps around the time the issue was first observed.
Beyond direct observation of site functionality, a more proactive approach involves examining the integrity of your WordPress installation. While a full file integrity scan is always recommended, specific areas to check include:
The presence and integrity of
wp-config.phpin the root directory of your WordPress installation.The contents of the
wp-contentdirectory, especially for missing plugins, themes, or uploads.The
index.phpfile and other core WordPress files in the root directory.
You can use command-line tools on your server to check for the existence and modification times of critical files. For example, to check the wp-config.php file: ls -l /path/to/your/wordpress/wp-config.php An unexpected absence of this file, or a recent modification timestamp that does not correspond to a legitimate update or administrative action, could be a strong indicator. Similarly, checking the size of the file could reveal if it has been tampered with or replaced with a malicious placeholder.
Reviewing web server access logs for suspicious requests is also important. Look for requests directed at your WordPress site that contain unusual URL parameters, especially those with percent-encoded characters (e.g., %2e%2e%2f for ../) or attempts to access or manipulate cache-related functions. This is particularly relevant if you have the Custom Permalinks or GeoDirectory plugins installed, as these facilitate the vulnerability. While the vulnerability is unauthenticated, the initial trigger might still leave traces in access logs, showing attempts to inject path traversal sequences.
If you have a file integrity monitoring (FIM) system in place, review its reports for any unauthorized deletions or modifications of files, particularly outside of expected cache directories. Such systems can provide alerts for changes to critical system files or WordPress core files, which would be a direct sign of compromise. Regular backups are also a key component of any recovery strategy, allowing for restoration if a compromise is detected.
By combining these checks, administrators can identify potential compromises and take appropriate action to secure their site.
How to fix
To address CVE-2026-119114, update the WP Fastest Cache – WordPress Cache Plugin to a patched version.
Back up your WordPress site files and database. This is a standard precaution before any major update.
Log into your WordPress administration dashboard.
Navigate to the "Plugins" menu, then select "Installed Plugins".
Locate "WP Fastest Cache" in the list of installed plugins.
If your installed version is 1.5.4 or earlier, update the plugin to version 1.5.5 or later. WordPress typically provides an "Update Now" link next to outdated plugins. Click this link to initiate the update process.
Verify the update was successful by checking the plugin version number, which should now be 1.5.5 or higher.
After updating, clear your site's cache to ensure all changes are applied and any potentially lingering malicious cache entries are removed. This option is usually available within the WP Fastest Cache plugin settings.
Timeline
Date | Event |
|---|---|
2026-11-21 | Advisory published |
2026-11-21 | Vulnerability published |