WP Rocket flaw now under active attack — update and check your site for planted files
Attackers have been exploiting a critical WP Rocket flaw since 25 November 2026, with tens of thousands of attempts on 26 November alone. Update to 3.24.2 or later and check your site for planted files.
Affects
- WP Rocket
Tracked as
CVE-2026-125812WP Rocket, before 3.24.2
A critical flaw in WP Rocket, the caching plugin used on more than 5.5 million WordPress sites, is now being exploited in live attacks. Patchstack, the security company that reported the flaw, says its sensors caught the first exploitation attempt on 25 November 2026 at 15:27 UTC. Within a day, the probing had grown into automated campaigns, with tens of thousands of blocked attempts on 26 November alone. If your site runs WP Rocket, update it now — and then check whether anything was already planted there, because updating stops new attacks but does not remove files an attacker has already left behind.

What happened
WP Rocket speeds up WordPress sites by caching pages and trimming the files a browser has to load. One of its tricks is a small script that runs in each visitor’s browser, measures how the page loads, and sends the results back to the site. WP Rocket then uses those reported addresses to fetch and optimise CSS files and fonts. The flaw, tracked as CVE-2026-125812, is that the plugin did not check those reported addresses strictly enough. An attacker can send a fake report that points at a server they control, and the site will download what it finds there and save it as a PHP file — code the attacker wrote, now running on the site’s own server. No login is needed at any point.
Two optional speed features open this door: “LazyLoad for CSS background images” and “Host Fonts Locally”. Both are off by default, but both are common on sites tuned for speed. Patchstack rates the flaw 9.8 out of 10. The United States National Vulnerability Database lists it as a path traversal weakness (CWE-22) affecting WP Rocket versions before 3.24.2.
WP Rocket shipped the fix in version 3.24.2 on 19 November, and Patchstack published its advisory on 23 November. The attacks started two days later. The first attacker worked by hand, trying a payload against a few sites and retrying with encoded variants when blocked. Within a day, several independent groups had automated the same trick. Attackers hide their payloads on bare IP addresses, wildcard DNS names, temporary Cloudflare tunnels, and other WordPress sites that look already compromised. Some first probe a site quietly to see whether it is vulnerable, without revealing their own server.
Patchstack says the ten busiest attacker addresses accounted for about half of all the blocked attempts it has seen since 25 November:
Blocked attack attempts by IP address
The numbers
| attempts | Blocked attempts |
|---|---|
| 103.235.74.71 | 5,352 |
| 157.245.122.230 | 5,003 |
| 152.89.170.194 | 3,455 |
| 180.232.236.101 | 2,288 |
| 103.235.74.72 | 1,950 |
| 201.79.120.217 | 1,938 |
| 112.78.154.32 | 1,876 |
| 167.71.75.155 | 1,600 |
| 43.163.8.253 | 1,326 |
| 51.79.199.209 | 1,018 |
What this means for you
If your site runs WP Rocket with either of the two settings turned on, an attacker can run their own code on your server without logging in. That can mean defaced pages, spam or malware served to your visitors, stolen data, or your site being used to attack others.
If both settings are off, your site is not exposed to this flaw — but check anyway, because the settings are easy to have switched on and forgotten.
Updates only reach sites with a valid WP Rocket licence. If your licence has lapsed, or the plugin came bundled with a theme and was never licensed, you will not get version 3.24.2 automatically, and your site stays open to attack.
The fix closes the hole. It does not undo a break-in: files an attacker already planted stay on the server and keep running.
What to do
- Update WP Rocket to version 3.24.2 or later. Version 3.24.3 is the latest release as of 26 November. In WordPress, go to Dashboard, then Updates, and update WP Rocket — or download the new version from your WP Rocket account if your licence is current.
- If you cannot update right away, open the WP Rocket settings and turn off both “LazyLoad for CSS background images” and “Host Fonts Locally”. With both off, the flaw cannot be reached.
- Check whether your site was already broken into. Using your hosting file manager or file transfer, look for PHP files you do not recognise in
wp-content/,wp-content/uploads/andwp-content/wp-rocket-config/— in particular files whose names start withwp-media-. If you find one, treat the site as compromised: restore it from a backup made before 25 November, change your WordPress admin and hosting passwords, and ask your host or a security professional for help if you are unsure. - Look through your site’s access logs for requests to
admin-ajax.phpwith the actionrocket_beaconfrom visitors who never loaded the page, and for your server making outbound requests to addresses you do not recognise. Either is a sign someone tried — or succeeded.
Sources
- Critical WP Rocket RCE (CVE-2026-125812) Under Active AttackPatchstack
- Remote Code Execution (RCE) in WordPress WP Rocket PluginPatchstack
- CVE-2026-125812 DetailNIST National Vulnerability Database
- Plugin ChangelogWP Rocket


