Threat actors are exploiting an unauthenticated remote code execution flaw in the WP Rocket caching plugin, tracked as CVE-2026-125812. It carries a CVSS score of 9.8, and the fix is WP Rocket 3.24.2.
The flaw lets a remote attacker write and execute PHP code on affected WordPress installations without credentials. It affects WP Rocket versions before 3.24.2 on sites with LazyLoad for CSS background images or Host Fonts Locally enabled. Both options are off by default but common on performance-tuned sites, so the exposed population is smaller than the plugin’s 5.5M+ install base.
Patchstack’s telemetry recorded the first exploitation attempt on November 25, 2026, at 15:27 UTC. Volume has risen sharply since. Defenders running outdated builds should treat the issue as an active compromise risk, not a routine patching task. Recent WordPress plugin exploitation trends show that caching and optimization plugins are attractive targets because they run with broad filesystem access.
Critical WP Rocket RCE
WP Rocket injects a small script into visitor browsers. The script measures each page and sends the results to a public AJAX endpoint. The plugin then uses the reported URLs to optimize the page, but it does not validate them strictly enough. An attacker can submit a forged report that makes the server fetch content from an attacker-controlled host and store it as a PHP file. The dropped file then executes in the web server context.
This chain combines server-side request forgery behavior with arbitrary file write, which together produce remote code execution. Two code paths trigger it: CSS background lazy loading and local hosting of Google Fonts.
Every attempt targets the same endpoint. The requests are POSTs to /wp-admin/admin-ajax.php with the parameter action=rocket_beacon. The first operator worked manually. That actor tried a payload on a few sites, then retried with encoded variants after the first attempt was blocked. Within a day the activity became automated, with tens of thousands of blocked attempts on November 26 alone.
Some requests combine both feature paths in one payload, so whichever option a site has enabled will fire. Payloads are hosted on bare IP addresses, wildcard DNS services such as nip.io, temporary trycloudflare.com tunnels, and WordPress sites that are probably already compromised.
Some operators first run a stealth check that confirms the target is exploitable without exposing their own server. Several independent operators are active. One cluster sent byte-identical requests from four residential IP addresses, which points to a rotating proxy pool.
Since November 25, the ten most active addresses account for roughly half of all blocked attempts. The busiest is 103.235.74.71 on Ikubaru in Indonesia, with 5,352 blocked requests. Next is 157.245.122.230 on DigitalOcean with 5,003, then 152.89.170.194 on C1V Hosting in Italy with 3,455. The rest of the list is below.
- 180.232.236.101 (Eastern Telecom, Philippines): 2,288 blocked requests.
- 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.
The heavy use of cloud and VPS providers means network-level blocking alone will not hold, because attackers can rotate to fresh infrastructure within minutes. Teams tracking web shell deployment and post-exploitation persistence in our threat intelligence coverage should expect follow-on payloads such as backdoors, SEO spam injectors and credential harvesters.
Patchstack recommends hunting for rocket_beacon requests from clients that never loaded the page they report on. Another signal is requests that carry full URLs where WP Rocket expects bare domains. Outbound connections from the web server to unfamiliar hosts, nip.io names or trycloudflare.com tunnels are also strong indicators.
On the filesystem, look for unexpected PHP files in wp-content/wp-rocket-config/, wp-content/uploads/ or directly in wp-content/. One example filename pattern is wp-media-*.php. Updating stops new attacks but does not remove files an attacker has already planted.
Any site that ran a vulnerable version without protection needs a directory review and a check of historical logs. Responders should also rotate WordPress salts, database credentials and administrator passwords where a dropped file is found. Further indicators of compromise and incident response guidance at Cyber Defense Magazine can help scope a larger intrusion.
Mitigation
Update WP Rocket to version 3.24.2 or later immediately. Where patching is delayed, disable both LazyLoad for CSS background images and Host Fonts Locally.
Alternatively, use Patchstack’s RapidMitigate virtual patch for CVE-2026-125812, which blocks exploitation without modifying plugin code. Patchstack says that rule was live more than two days before the first attack arrived.
Further hardening measures include blocking PHP execution in wp-content/uploads/ at the web server level and restricting outbound traffic from web hosts. File integrity monitoring on wp-content/ will also catch unauthorized PHP drops. Patchstack says it continues to monitor the campaign and will update its advisory as activity evolves.
FAQ
What is CVE-2026-125812? It is a CVSS 9.8 unauthenticated RCE in WP Rocket that lets attackers write and execute PHP code.
Which versions are affected? WP Rocket versions before 3.24.2 with LazyLoad for CSS background images or Host Fonts Locally enabled.
Does updating remove existing backdoors? No, the update blocks new attacks but you must manually check for planted PHP files and review logs.
What is the temporary workaround? Disable both LazyLoad for CSS background images and Host Fonts Locally, or apply a virtual patch such as RapidMitigate.