WP Rocket CVE-2026-125812 Is Being Exploited: One Unauthenticated POST Writes PHP to Your WordPress Site. Update to 3.24.2, Then Check What Was Already Dropped.

What to do first. If you run WordPress with the WP Rocket caching plugin, go to Plugins in wp-admin and confirm WP Rocket reads 3.24.2 or later. If it does not, update now. If you cannot update today (an expired license is the usual reason), open WP Rocket, then Page Optimization, then Image & Media (the Media tab on versions before 3.24), and turn off both "LazyLoad for CSS background images" and "Self-host Google Fonts". Then, whether you update or not, do the self-check further down. The update stops new attacks. It does not remove a file that was already planted.
What is confirmed
CVE-2026-125812 is an unauthenticated remote code execution bug in WP Rocket, the paid WordPress caching plugin from WP Media. Patchstack rates it CVSS 9.8. No login is needed.
Affected: WP Rocket 3.15 through 3.24.1, per the vendor advisory, and only when at least one of two features is switched on: LazyLoad for CSS background images, or Self-host Google Fonts (Patchstack calls the second one "Host Fonts Locally"). Both are off by default. Patchstack's note on that is worth repeating: both are "common on performance-tuned sites," which is exactly who buys a caching plugin.
Fixed: WP Rocket 3.24.2, released Thursday, November 19, 2026, per the vendor.
How it works, per Patchstack's write-up: WP Rocket runs a small script in visitors' browsers that measures each page and reports back to a public AJAX endpoint, POST /wp-admin/admin-ajax.php with action=rocket_beacon. WP Rocket then uses the URLs in that report to optimize the page, and it does not validate them strictly enough. A crafted report makes the site download content from a server the attacker controls and save it as a PHP file. Then that file runs. The NVD record (published November 25, CNA Patchstack) classifies it as CWE-22, path traversal, which fits: the attacker controls where the fetched file lands.
Who reported exploitation, and on what evidence: Patchstack, in a post by Security Research Lead Dave Jong dated Friday, November 27. Its telemetry shows the first attempt on Wednesday, November 25, 2026, at 15:27:11 UTC. The first attacker worked by hand and retried with encoded variants when blocked. Within a day it became automated campaigns, with "tens of thousands of blocked attempts on November 26 alone." BleepingComputer, reporting today, puts the Patchstack figure at more than 25,000 blocked malicious requests. WP Media's own advisory points to Patchstack for the exploitation report. That makes this one source for in-the-wild exploitation: Patchstack's sensor network. The vendor and the press both trace to it. We have no reason to doubt it. We are naming it.
What Patchstack says attackers are doing: they hit both feature paths, "sometimes in one request," so whichever feature a site has enabled fires. Payloads are hosted on bare IP addresses, wildcard DNS names such as nip.io, temporary trycloudflare.com tunnels, and other WordPress sites that are likely compromised. Several independent operators are active. One cluster sent byte-identical requests from four residential IP addresses, which Patchstack reads as a rotating proxy pool.
Install base: the vendor says WP Rocket is used by more than 5.5 million websites and 394,000 customers (its press page shows "+5,656,000 Websites Optimized"). That is the whole install base, not the exposed population. Only sites below 3.24.2 with one of the two features on are exploitable, and nobody has published how many that is.
What is not known
- CISA KEV: not listed. We checked the CISA KEV JSON (catalog version 2026.11.27, released Friday, November 27). CISA's own SSVC entry on the NVD record, timestamped November 25 at 14:57 UTC, scored exploitation "none." That was 30 minutes before Patchstack's first observed attempt, so it is stale, not a contradiction. Do not wait for a KEV listing to act.
- How many sites were actually compromised. Patchstack published blocked attempts on sites it protects, not successful compromises elsewhere.
- Payload contents. Neither primary published the downloaded PHP or a file hash, and neither published the payload-hosting domains. We have no hashes or domains to feed.
- The exact vulnerable request body. Patchstack published the endpoint and action name, not the full parameter set. We are not reconstructing it here.
Am I affected? The self-check
Work through this in order. It takes ten minutes per site.
1. Find your exact version. Two places. In wp-admin, go to Plugins and read the version under WP Rocket. On disk, open wp-content/plugins/wp-rocket/wp-rocket.php and read the "Version:" line in the header comment at the top of the file (the same file also defines the WP_ROCKET_VERSION constant). If it reads 3.24.2 or higher, the code is fixed. If it reads 3.15 through 3.24.1, keep going.
2. Check the two settings. WP Rocket, Page Optimization, Image & Media (or the Media tab before 3.24). If both "LazyLoad for CSS background images" and "Self-host Google Fonts" were off the whole time you ran a vulnerable version, the documented attack paths were closed. If either was on at any point since Patchstack's first sighting on November 25 (or earlier, since nobody saw the first attacker before it showed up), treat the site as possibly exposed and do steps 3 to 5.
3. Grep your access logs for the beacon. Look for POST requests to /wp-admin/admin-ajax.php. Most web servers do not log POST bodies, so you will usually not see "rocket_beacon" in the log line itself. What you can see: POSTs to admin-ajax.php from IP addresses that never loaded the page they claim to measure (no preceding GET for that page from the same IP), bursts of admin-ajax.php POSTs from one address, and POSTs from the addresses in the list below. Patchstack's detection advice is the same idea: rocket_beacon requests "from clients that never loaded the page they report on, or that report full URLs where WP Rocket expects bare domains." If you have a WAF or a plugin that logs request bodies, search those for rocket_beacon together with "http" or a full URL in the reported values.
4. Look for outbound fetches. The exploit makes your server download the payload. Check egress logs, firewall logs or your host's connection logs for outbound HTTP from the web server to unfamiliar hosts, to anything ending in nip.io, to anything ending in trycloudflare.com, or to bare IP addresses, especially from November 25 on.
5. Look for dropped PHP files. Patchstack names the places: wp-content/wp-rocket-config/, wp-content/uploads/, and directly in wp-content/. A name pattern it gives as an example is wp-media-*.php. Legitimate contents of wp-rocket-config are PHP config files named after your domain; anything else there deserves a look. wp-content/uploads should normally hold no PHP at all. From the WordPress root, a find for files ending in .php under wp-content/uploads, plus any .php file in those three directories with a modification time on or after November 25, is the quick pass. Public proof-of-concept code we collected also requests a file named shell.php under wp-rocket-config, so check for that name specifically.
If you find a planted file: do not just delete it and move on. Take the site offline or into maintenance, preserve the file and logs, check for new admin users and changed wp-config.php, rotate database and salts, and restore from a backup taken before the drop. The vendor's advisory says the same thing more politely: files or accounts an attacker already created "require separate investigation."
Managing many sites
WP Media published a helper plugin, "WP Rocket | Mitigate CVE-2026-125812," that turns off both features, with its code on GitHub. Agencies and hosts can push it with WP-CLI (wp plugin install with the zip, then --activate). On Multisite it must be activated per subsite. Get it from the vendor advisory linked below, not from a mirror. Then verify on each site that both settings are actually off, and still schedule the 3.24.2 update.
What our edge saw
Short version: nothing we can call an exploitation attempt, and for this bug our edge records are partly blind by design. Our own site is not WordPress, so these numbers measure who knocked, not what was at risk.
We ran our edge check across November 1 to today: 699,579 edge-block records, 111,198 edge canary records and 955 origin honeypot captures. Three things came back.
- No hit on any exploit-specific path. Zero requests for the shell.php filenames in public proof-of-concept code, zero for anything under wp-rocket-config, zero for wp-media-*.php. That zero has a hole in it: this exploit is a POST to /wp-admin/admin-ajax.php with the action name in the request body, and our edge records keep the path only, not the body or query string. So "rocket_beacon" can never appear in our records. That is UNKNOWN, not clean.
- admin-ajax.php itself: 30 edge blocks and 281 canary hits from 105 addresses. That path is how every WordPress plugin talks to the browser, so it is sprayed by generic WordPress scanners all day. 235 of those hits came before the first public proof of concept appeared on GitHub (November 26). We are not counting any of them as sightings of this CVE.
- Two blocks on a WP Rocket file, November 2, from one address on AS48090, requesting a WP Rocket PHP class file directly. That is plugin-inventory recon, three weeks before the fix shipped. Someone was mapping WP Rocket installs. It is not this exploit, and it is not a lead.
We also cross-checked Patchstack's ten addresses against our corpus. Two were already there for other reasons. 157.245.122.230 tripped one of our generic admin-path canaries on November 17, which is recon, not this CVE. 103.235.74.71 was in a community feed we carry since November 23 at confidence 70. And three neighbors in the same /24 as Patchstack's two Ikubaru addresses hit our WordPress canaries in October and November, the latest on November 25 at 13:56 UTC. That is the same network doing WordPress scanning, which corroborates Patchstack's picture. It is not a sighting of this exploit, and we make no claim to having seen it first.
Indicators
Patchstack published the ten most active attacking addresses since November 25, which together account for roughly half of the attempts it blocked. We ingested all ten into the DugganUSA feed under source manual-batch-wp-rocket-cve-2026-125812, attributed to Patchstack. This is Patchstack's observation, not ours. Several sit on residential or ISP networks in Indonesia and the Philippines and may be proxy exits shared with ordinary users, so we scored those at 80 and the hosting-provider addresses at 85. Block them in front of WordPress; think before blocking them everywhere.
Block these: register free for the DugganUSA feed and pull these 10 addresses with everything else we publish. Docs at docs.dugganusa.com.
Attacking IP addresses (network and blocked-request count per Patchstack, November 25 onward):
- 103.235.74.71 (Ikubaru, Indonesia), 5,352
- 157.245.122.230 (DigitalOcean), 5,003
- 152.89.170.194 (C1V Hosting, Italy), 3,455
- 180.232.236.101 (Eastern Telecom, Philippines), 2,288
- 103.235.74.72 (Ikubaru, Indonesia), 1,950
- 201.79.120.217 (DigitalOcean), 1,938
- 112.78.154.32 (Biznet, Indonesia), 1,876
- 167.71.75.155 (DigitalOcean), 1,600
- 43.163.8.253 (Aceville / Tencent Cloud, Singapore), 1,326
- 51.79.199.209 (OVH, Singapore), 1,018
No payload domains or file hashes were published in the sources we read, so we added none.
Block these: register free for the DugganUSA feed. Docs at docs.dugganusa.com.
How we know
We read the WP Rocket security advisory, Patchstack's exploitation write-up, the NVD record through the NVD API, the CISA KEV JSON, WP Rocket's press page for the install figures, and BleepingComputer's report by Bill Toulas. Credit for the vulnerability analysis and the exploitation telemetry belongs to Patchstack. We checked our own edge instruments as described above, and we cross-checked each listed address against our corpus before ingesting.
Sources
- WP Rocket, "WP Rocket security advisory and mitigation steps for CVE-2026-125812": https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/
- Patchstack (Dave Jong), "Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack," November 27, 2026: https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/
- NVD, CVE-2026-125812: https://nvd.nist.gov/vuln/detail/CVE-2026-125812
- BleepingComputer (Bill Toulas), "Hackers exploit critical WordPress WP Rocket flaw to breach sites," November 30, 2026: https://www.bleepingcomputer.com/news/security/hackers-exploit-critical-wordpress-wp-rocket-flaw-to-breach-sites/
- WP Rocket press page: https://wp-rocket.me/press/
Read next: Updating WordPress is the risky moment: CVE-2026-119977 is on CISA's exploited list, the other WordPress bug this month where the files on disk matter more than the version number.
Every indicator in this post is in the feed. Free.
1.58M+ IOCs, STIX 2.1 / TAXII, 88% novel vs ThreatFox, exploited-CVE leads ahead of CISA. No credit card — a free API key in 30 seconds, and you can audit every claim above against the live endpoints.