Security alert · Critical
WP Rocket for WordPress: critical flaw CVE-2026-125812 lets attackers run PHP code
· 3 minutes read · Centoculus Security Team
Known since · attacks confirmed since
Affected: WP Rocket (WordPress plugin) before 3.24.2
What happened
WP Rocket is a widely used WordPress caching plugin from WP Media. It has a path traversal vulnerability, CVE-2026-125812. The vulnerability was made public on 25 November 2026, and Patchstack's database entry is dated 23 November 2026. Patchstack classifies the flaw as remote code execution (RCE) with a CVSS score of 9.8. Attackers do not need to log in. If they exploit it, they can run code on the web server with the permissions of the website.
Many outages start on the server itself, with a full disk or a stopped database. Server monitoring with the Centoculus agent shows the cause and can restart the service.
On 30 November 2026, CISA added CVE-2026-125812 to its catalogue of known exploited vulnerabilities. CISA gives no details about the attacks. Version 3.24.2 of WP Rocket fixes the flaw.
Who is affected
- WordPress sites that run WP Rocket before version 3.24.2.
- The plugin must be installed for a site to be affected. Sites without WP Rocket are not affected, and neither are sites already on 3.24.2 or later.
- WordPress core and other caching plugins are not part of this vulnerability.
What to do now
- Find every WordPress installation that has WP Rocket. This includes customer sites and staging copies that can be reached from the internet.
- Make a quick backup of the site files and the database.
- Update WP Rocket to version 3.24.2 or later. You can do this from the WordPress dashboard under Plugins, or with WP-CLI:
wp plugin update wp-rocket. If the update is not offered, for example because a licence has expired, download the current version from your WP Rocket account and install it by hand. - If you cannot update right away, deactivate the plugin until you can (
wp plugin deactivate wp-rocket). The site will run without page caching, but it will no longer be exposed through this flaw. - After the update, clear the cache and check that the site loads correctly.
- Sites that ran a vulnerable version after the flaw became public may already be compromised. Run the checks in the next section.
How to check whether you are affected
- Show the installed version with
wp plugin get wp-rocket --field=version, or look under Plugins in the dashboard. Anything below 3.24.2 is vulnerable. - On servers with many sites, you can search for the plugin across all document roots, for example:
grep -r "Version:" /var/www/*/wp-content/plugins/wp-rocket/wp-rocket.php(adjust the path to match your server). - Look for signs of a compromise:
- PHP files that were changed or added recently, especially in
wp-content/uploadsandwp-content/cache(for examplefind wp-content -name '*.php' -mtime -10) - WordPress admin accounts you do not recognise
- unexpected cron jobs or scheduled tasks
- unusual requests to WP Rocket paths in the web server access logs since 23 November 2026
- PHP files that were changed or added recently, especially in
- If you find signs of a compromise, take the site offline. Restore it from a clean backup made before the attack, change all passwords and keys (WordPress users, database,
wp-config.phpsalts), and only then put it back online with the updated plugin.
Sources
- https://nvd.nist.gov/vuln/detail/CVE-2026-125812
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
More sources (3)
- https://patchstack.com/database/wordpress/plugin/wp-rocket/vulnerability/wordpress-wp-rocket-plugin-3-24-2-remote-code-execution-rce-vulnerability?_s_id=cve
- https://www.bleepingcomputer.com/news/security/hackers-exploit-critical-wordpress-wp-rocket-flaw-to-breach-sites/
- https://www.heise.de/news/Kritische-Codeschmuggel-Luecke-in-WordPress-Plugin-WP-Rocket-wird-attackiert-11545323.html
If you run CMS or shop systems, also check
- WordPress plugin vulnerabilities: 9 plugins, including Fluent Forms
- WordPress plugin vulnerabilities: 5 plugins, including LearnPress
- WordPress plugin vulnerabilities: 17 plugins incl. WPML Multicurrency for WooCommerce
- WordPress plugin vulnerabilities: 7 plugins incl. Database for Contact Form 7
- WordPress plugin vulnerabilities: 4 plugins, including Simple Download Monitor
- WordPress plugin vulnerabilities: 10 plugins affected, including Mang Board
- WordPress plugin vulnerabilities: 17 plugins, including W3 Total Cache
- WordPress plugin vulnerabilities: 18 plugins including WPForms
- Drupal core: installer flaw allows site takeover and code execution (CVE-2026-132165)
- WordPress plugin vulnerabilities: 6 plugins, including Download Manager
Related posts
Alerts ·
Zimbra: unpatched flaws let attackers keep mailbox access after password reset
Rapid7 published nine Zimbra flaws, five of them unpatched. One keeps an attacker in a mailbox after the password is reset. Zimbra 10.1.22 fixes none of the open five. Update anyway and check mailboxes for unexpected loginAs grants.
Alerts ·
Veeam Backup: critical flaws patched in August now under attack
The Canadian Centre for Cyber Security reports active attacks on two critical Veeam Backup vulnerabilities that were fixed in August. Backup servers that have not been updated since then are at risk.
Alerts ·
Acronis Backup for cPanel and Plesk: authorization flaw exposes data (CVE-2026-87887)
The Acronis Backup plugin for cPanel & WHM and the Acronis Backup extension for Plesk have an authorization flaw that can disclose sensitive information. CISA lists CVE-2026-87887 as exploited. Servers without the Acronis add-on are not affected.