WP Rocket has an unauthenticated RCE being exploited right now — update to 3.24.2

Patchstack published a writeup on 27 November on a critical flaw in WP Rocket, and the detail that moves it to the top of the pile is that attacks started before the post did. Their telemetry logs the first exploitation attempt at 15:27 UTC on 25 November, and tens of thousands of blocked attempts the following day. WP Rocket sits on over five million sites, most of them put there by an agency during a performance pass that nobody has revisited since — which is exactly the gap a standing update routine across the plugins you installed for clients years ago is supposed to close.

The facts

  • CVE-2026-125812, CVSS 9.8, unauthenticated remote code execution
  • Affects WP Rocket below 3.24.2, fixed in 3.24.2
  • Only exploitable when LazyLoad for CSS background images or Host Fonts Locally is enabled — both off by default, both routinely switched on during performance work
  • No authentication, no account, no user interaction required
  • Active exploitation confirmed in the wild since 25 November

How it works

WP Rocket runs a small measurement script in the visitor’s browser that reports page data back to a public AJAX endpoint. The plugin then uses the reported URLs to optimise the page, and does not validate them strictly enough. A crafted report makes the site fetch content from a server the attacker controls and save it as a PHP file, which then executes on your server.

Every attempt Patchstack has seen goes to the same place:

  • `POST /wp-admin/admin-ajax.php` with `action=rocket_beacon`

Attackers hit both feature paths, sometimes in a single request, so whichever of the two options a site has enabled, one of them lands.

What the attack traffic looks like

Patchstack describes a first operator working by hand — a handful of sites, then re-encoded payloads once the first attempt was blocked — turning into automated campaigns within a day. Several independent operators are now active. Payloads are hosted on bare IPs, `nip.io` wildcard DNS names, throwaway `trycloudflare.com` tunnels, and other WordPress sites that are themselves probably compromised. One cluster sent byte-identical requests from four residential IPs, which is a rotating proxy pool rather than four attackers. Since 25 November the ten busiest addresses account for roughly half of all blocked attempts, led by hosts in Indonesia, DigitalOcean ranges and Italian and Singaporean providers.

Some requests only check whether a site is vulnerable, without exposing the attacker’s own infrastructure. So an un-exploited site may still have been fingerprinted.

Updating is not the whole job

This is the part worth reading twice. The update stops new attacks. It does not remove anything already planted. On any site that ran a vulnerable version without a mitigation in front of it, Patchstack’s detection guidance is:

  • `rocket_beacon` requests from clients that never loaded the page they claim to be reporting on, or that send full URLs where WP Rocket expects bare domains
  • Outbound requests from the web server to unfamiliar hosts, `nip.io` names or `trycloudflare.com` tunnels
  • Unexpected PHP files in `wp-content/wp-rocket-config/`, `wp-content/uploads/` or directly in `wp-content/` — `wp-media-*.php` is one observed pattern

Historical logs matter here, because the window opened on 25 November and the patch is dated after that.

If you cannot update today

Turning off both LazyLoad for CSS background images and Host Fonts Locally closes the hole without touching the plugin, at the cost of two optimisations. Patchstack’s own RapidMitigate rule for this CVE was live more than two days before the first attack arrived, for sites running their protection.

What an agency should do with this

Two things, and the first one is an inventory question rather than a security question. Which of your client sites run WP Rocket, and which of those have either of the two features enabled? That list is the whole job — the update itself takes a minute per site. The second is remembering that performance plugins are not in most people’s mental model of attack surface. A caching plugin that was installed once to fix a PageSpeed score and never thought about again is still running privileged code on the server, and this week it is the way in.

What this means for Codelibry clients

If your site is on one of our maintenance plans, this one is already handled — we checked the plugin inventory against the advisory, moved affected sites to 3.24.2, and looked for the file patterns above on anything that ran a vulnerable version during the exposure window. It will be written up in your next monthly maintenance report, and there is nothing for you to do. If you are not on a plan, this is a good illustration of what the plan is actually for: the fix was available, the exploitation started on a Tuesday afternoon, and the only thing standing between those two facts is somebody whose job it is to notice.

Source: Patchstack

Vitalii Omelchenko
Founder at Codelibry and WordPress enthusiast. Helping digital agencies to protect their margins and do better at website delivery.Need help with wordpress builds? Book a call using the Contact page
our Blog

Explore our Latest Insights

Codelibry
WordPress took more vulnerability reports this year than in the previous twelve combined — and shipped four security releases in 41 days
News
November 27, 2026
Codelibry
528 WordPress vulnerabilities in a single week. Five critical ones still have no patch
News
November 26, 2026
Codelibry
A fake plugin that goes invisible when you log in, and serves attacker JavaScript from the client’s own domain
News
November 26, 2026
whatsapp icon