WP Rocket, one of the most widely used WordPress caching plugins, had a critical flaw that lets an attacker with no account on the site run code on the server. It affects every version before 3.24.2, is rated 9.8 out of 10, and is fixed in 3.24.2, released on 19 November 2026.
If your site runs WP Rocket, check its version today and update to 3.24.2 or later. WP Rocket is a paid plugin that updates through its own licence, not WordPress.org, so sites with an expired licence do not receive the fix.
What the flaw is
The NVD record for CVE-2026-125812, filed by Patchstack and published on 25 November 2026, describes a path traversal flaw (CWE-22) in WP Rocket before 3.24.2. Path traversal means the plugin can be made to read or write files outside the folder it is meant to use.
Patchstack’s advisory, published on 23 November, classifies the result as remote code execution and lists the required privilege as “Unauthenticated”. It credits the researcher Vorelito, who reported the flaw on 4 November. Neither the NVD record nor the public advisory names the vulnerable feature or request.
WP Media’s changelog for 3.24.2 does not mention a CVE. Its only security line reads “Improve validation of cached CSS, font and preconnect files”. Version 3.24.3, released on 26 November, is the newest and also contains the fix.
| Plugin | Affected | Fixed in | Severity | Login needed |
|---|---|---|---|---|
| WP Rocket | Before 3.24.2 | 3.24.2 (19 November 2026) | Critical, 9.8 | No |
Is it being exploited?
Sources differ. Patchstack’s advisory marks the flaw as known to be exploited. The US Cybersecurity and Infrastructure Security Agency (CISA) had not added it to its Known Exploited Vulnerabilities catalogue as of the 4 December edition, and CISA’s own assessment in the NVD record, dated 25 November, recorded no exploitation at that time while rating the flaw automatable with total technical impact.
Automatable, unauthenticated flaws in popular plugins tend to be scanned for widely soon after disclosure, so treat an unpatched site as at risk whatever the current reports say.
What to do now
- Check the installed version under Plugins → Installed Plugins, or with
wp plugin get wp-rocket --field=version. - If it is older than 3.24.2, update it from Dashboard → Updates. Then clear WP Rocket’s cache so pages are rebuilt by the new version.
- If no update appears, check the licence. WP Rocket’s documentation on expired licences says plugin updates stop when a licence expires, and that the renewal link keeps working afterwards. Renew it, or deactivate and delete WP Rocket and use another caching plugin until you can.
- Look for signs of an earlier break-in: administrators you did not create (
wp user list --role=administrator --fields=ID,user_login,user_registered), and plugins, themes or PHP files you did not install.
We checked the commands above on WordPress 7.1.5 with WP-CLI 3.0.1. Agencies can find WP Rocket across their sites with wp @all plugin list --name=wp-rocket --fields=name,status,version if they keep WP-CLI aliases. Our story on the Essential Widgets admin takeover flaw has a fuller checklist for checking a site after a critical plugin flaw.
Sources
- CVE-2026-125812, National Vulnerability Database
- WP Rocket remote code execution advisory, Patchstack
- WP Rocket changelog, WP Media
- What happens if my licence expires, WP Rocket documentation
- Known Exploited Vulnerabilities catalogue, CISA



