signal

Update WP Rocket to 3.24.2 today, then check for planted PHP files

A critical WP Rocket flaw is under active attack. Update to 3.24.2, then check for PHP files an attacker may already have planted.

Go Voltic · published

If your WordPress site runs the WP Rocket caching plugin, check its version now. Patchstack reports that CVE-2026-125812, an unauthenticated remote code execution flaw rated CVSS 9.8, is being exploited in the wild. The fixed release is 3.24.2.

Who is exposed

Versions before 3.24.2 are affected, but only on sites with one of two optimization features switched on: LazyLoad for CSS background images, or Host Fonts Locally. Both are off by default. Patchstack notes that both are common on performance-tuned sites, which is exactly where a plugin like this tends to be configured heavily.

No login is needed. An attacker who sends a crafted report to the plugin's public measurement endpoint can make your site download content from a server they control, save it as a PHP file, and run it. Patchstack says the plugin does not validate the reported URLs strictly enough.

How fast this moved

Patchstack's telemetry shows the first exploitation attempt on November 25, 2026, at 15:27 UTC. By November 26 there were tens of thousands of blocked attempts in a single day. The first attacker worked by hand and retried with encoded variants when blocked. Within a day the activity had become automated campaigns, and Patchstack describes several independent operators.

Attackers are also sending requests built to trigger either feature path, so a site with only one of the two enabled is still a target. The practical reading is that a site left unpatched over the weekend will be probed.

What to do, in order

  1. Update WP Rocket to 3.24.2 or later. This stops new attacks.
  2. If you cannot update right away, turn off both LazyLoad for CSS background images and Host Fonts Locally. Patchstack also offers a mitigation rule for paying customers that blocks the attempts without touching plugin code.
  3. Look for files you did not put there. Check wp-content/wp-rocket-config/, wp-content/uploads/ and the top level of wp-content/ for unexpected PHP files. Patchstack gives wp-media-*.php as an example of a name to look for.
  4. Review your logs. Search for POST requests to /wp-admin/admin-ajax.php with action=rocket_beacon. Patchstack flags two patterns: requests from clients that never loaded the page they report on, and reports carrying full URLs where the plugin expects bare domains.
  5. Watch outbound traffic. Requests from your web server to unfamiliar hosts, nip.io names or trycloudflare.com tunnels are a warning sign, because attackers host their payloads there.

Telling a site owner what happened

If you run sites for clients, the message is short. A caching plugin had a flaw that let strangers run code on the server, a fix exists, and you either applied it on a given date or you are checking for damage. Record the date you patched. If a planted file turns up, that date tells you how long it could have been there.

Sources

  1. Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack. Patchstack, read 2026-11-28

Run a free Instant Scan on your own site · More from the Newsroom

Read next: what a scan finds, check by check · what sites in your sector score · what a website audit costs