WP Rocket, one of the most widely installed WordPress caching plugins, quietly patched a critical flaw tracked as CVE-2026-125812 on November 19, 2026. Since November 25, security researchers have watched exploitation escalate from isolated manual attempts to large-scale automated campaigns, with confirmed breaches by late November. Sites that haven’t yet updated remain exposed.
What the flaw allows
CVE-2026-125812 is a path traversal flaw rated 9.8 out of 10 by Patchstack, a critical score. It affects how WP Rocket generates cached files for stylesheets, fonts and preconnects: an unauthenticated attacker can abuse this mechanism to write an arbitrary PHP file outside the intended cache directory, opening the door to remote code execution without needing any credentials at all.
Who is actually exposed
The flaw isn’t active by default: it requires at least one of two settings to be enabled in WP Rocket, both widely used to speed up a site:
- LazyLoad for CSS background images;
- hosting Google fonts locally (Host Fonts Locally).
A site using neither setting has reduced exposure, but the patch still applies: updating without waiting to audit the configuration in detail is the safer call.
Timeline of the exploitation
| Date | Event |
|---|---|
| November 19, 2026 | WP Rocket 3.24.2 released, fixing the flaw with no separate security advisory |
| November 25, 2026, 15:27 UTC | First low-scale, manual exploitation attempts (Patchstack) |
| November 26, 2026 | Shift to large-scale automated exploitation |
| November 30, 2026 | Confirmed breaches on unpatched sites (BleepingComputer, SecurityWeek) |
Checking and fixing an install
On a site managed from the command line with the right CLI tools, checking the version and updating takes two lines:
wp plugin list --name=wp-rocket --fields=name,version,update_version,update
wp plugin update wp-rocketSince WP Rocket is a paid plugin, automatic updates stop the moment a license expires: a site still showing a version earlier than 3.24.2 after this command needs to check its license status before it can receive the patch. On sites without SSH access, the manual check is the same, done from the Plugins screen. More broadly, this kind of scenario is a reminder of why a minimal WordPress hardening baseline matters, independent of any single installed plugin.
In five days, exploitation of CVE-2026-125812 went from isolated manual attempts to a large-scale automated campaign.
wp-content/cache/) and, when in doubt, compare the file tree against a clean backup from before November 25.What to remember
The fix has existed for nearly two weeks, yet active exploitation keeps breaching sites that haven’t updated. Checking the version should happen immediately, followed by a cache file integrity check if the update wasn’t applied before November 25.
This is the classic paid-plugin scenario: the update lands quietly in a changelog, and nobody connects it to a critical flaw until a researcher publishes one. On the client sites I look after, I now prefer setting up an alert the moment a security patch ships for the most sensitive plugins — caching, forms, payments — rather than relying on general-purpose monitoring. — Simon Janvier
Further reading: BleepingComputer’s report on the active exploitation.
