Attackers began exploiting a WP Rocket RCE flaw, CVE-2026-125812, on November 25, 2026, at 15:27 UTC, according to Patchstack. The bug lets unauthenticated attackers write and run PHP code on WordPress sites. WP Rocket fixed it in version 3.24.2 on November 19, six days earlier.
TL;DR
The flaw carries a CVSS score of 9.8 and needs no login. Only sites with LazyLoad for CSS background images or self-hosted Google Fonts enabled are exposed. Patchstack blocked tens of thousands of attempts on November 26 alone.
- CVE: CVE-2026-125812
- CVSS: 9.8 (Critical · CVSSv3)
- Product: WP Media WP Rocket
- Affected: < 3.24.2
- Impact: WordPress WP Rocket plugin < 3.24.2 - Remote Code Execution (RCE) vulnerability
- Status: Exploited in the wild
- Patched in: 3.24.2
- EPSS: 1.0% (30-day)
- Action: Update to 3.24.2 now
Why It Matters
Attacks Grew Fast
The Patchstack analysis of the WP Rocket RCE says the first attacker “worked by hand.” It tested a few sites, then retried with encoded variants after being blocked. However, “within a day the activity had turned into automated campaigns.”
Several Groups Are Involved
Patchstack sees “several independent operators.” One cluster sent byte-identical requests from four residential IP addresses, which suggests a rotating proxy pool. Meanwhile, the ten busiest addresses made up roughly half of all blocked attempts.
Common Features, Not Defaults
Both vulnerable features are off by default. Still, Patchstack notes that “both are common on performance-tuned sites.” That describes many WP Rocket users, since the plugin exists to speed up sites.
A Short Patch Window
WP Rocket shipped the fix on November 19, and attacks started six days later. Six days is a short window to patch a WordPress plugin vulnerability across many sites. Sites that skip updates, or run expired licenses, are the easiest targets. Notably, CISA has not added the flaw to its KEV catalog yet.
How the Attack Works
WP Rocket runs a small script in visitors’ browsers. It measures each page and reports results to a public AJAX endpoint. The plugin then uses the reported URLs to optimize the page.
The problem is weak validation. A crafted report can make the site download content from an attacker’s server and save it as a PHP file. That code then runs on the server. Attackers often target both feature paths in a single request, so one will fire whichever feature is on.
To host payloads, they use bare IP addresses, wildcard DNS services such as nip.io, temporary Cloudflare tunnels and other hacked WordPress sites.
Affected Versions
- WP Rocket 3.15 through 3.24.1
- Only when LazyLoad for CSS background images or Self-host Google Fonts is enabled
Patch and Mitigation
Update to WP Rocket 3.24.2 or later. If you cannot update, the WP Rocket security advisory says to turn off both features. Doing so “mitigates the documented attack paths immediately.” WP Rocket also offers a helper plugin that applies this change across many sites.
Check for Compromise
Updating does not remove files an attacker already planted. So review sites that ran a vulnerable version with either feature on:
- Look for unexpected PHP files in wp-content/, wp-content/uploads/ and wp-content/wp-rocket-config/, such as wp-media-*.php.
- Check for outbound requests to unfamiliar hosts, nip.io names or trycloudflare.com tunnels.
- Review logs for odd rocket_beacon AJAX requests that report full URLs.
Finally, treat any site with planted files as fully compromised. This WP Rocket RCE gives attackers the same code access as the site itself.
Support Our Threat Intelligence
Find our vulnerability reports and weekly recaps helpful? Support our work today and unlock a 100% ad-free reading experience!