WP Rocket
Unauthenticated Remote Code Execution
This blog post covers a Critical unauthenticated remote code execution vulnerability in the WP Rocket caching plugin for WordPress. Patchstack has deployed a mitigation rule to protect against exploitation of this vulnerability. If you are a WP Rocket user, update to at least version 3.24.2.
This vulnerability is currently being targeted in the wild. Tracked as CVE-2026-125812, it lets unauthenticated attackers write and execute PHP code on affected sites. It affects WP Rocket versions before 3.24.2 on sites with either LazyLoad for CSS background images or Host Fonts Locally turned on. Our telemetry shows the first exploitation attempt on November 25, 2026, at 15:27 UTC, and the volume has risen sharply since.
| CVE | CVE-2026-125812 |
| Product | WP Rocket |
| Vulnerability Type | Unauthenticated Remote Code Execution |
| CVSS | 9.8 (Critical) |
| Exploitation Status | Active exploitation observed |
| Authentication Required | No |
| Affected Versions | < 3.24.2 (with LazyLoad for CSS background images or Host Fonts Locally enabled) |
| Fixed Version | 3.24.2 |
| First Observed Exploitation | November 25, 2026, 15:27:11 UTC |
✌️ Our users are protected from this vulnerability. Are yours?
Identify vulnerabilities in your plugins and get recommendations for fixes.
Request auditProtect your users, improve server health and earn additional revenue.
Patchstack for hostsHow the vulnerability works
WP Rocket runs a small script in visitors’ browsers that measures each page and reports the results to a public AJAX endpoint. WP Rocket then uses those reported URLs to optimize the page. It does not validate them strictly enough. An attacker who sends a crafted report can make the site download content from a server the attacker controls and save it as a PHP file. The attacker’s code then runs on the server.
Two optimization features can be abused this way: CSS background lazy loading and local hosting of Google Fonts. Both are off by default, but both are common on performance-tuned sites.
What we’re seeing
All attempts go to WP Rocket’s measurement endpoint:
POST /wp-admin/admin-ajax.php
action=rocket_beacon
The first attacker worked by hand: it tried its payload against a few sites, then retried with encoded variants when the first attempt was blocked. Within a day the activity had turned into automated campaigns, with tens of thousands of blocked attempts on November 26 alone.
Attackers use both feature paths, sometimes in one request so that whichever feature a site has enabled, one of them fires. They host their payloads on bare IP addresses, wildcard DNS names such as nip.io, temporary trycloudflare.com tunnels, and other WordPress sites that are likely compromised. Some first check whether a site is vulnerable without revealing their own server.
Several independent operators are active. Some send one identical payload to site after site; one cluster sent byte-identical requests from four residential IP addresses, a sign of a rotating proxy pool. Since November 25, the ten most active addresses accounted for roughly half of all blocked attempts:
| IP address | Network | Blocked requests |
|---|---|---|
| 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 |
Detection
rocket_beaconrequests from clients that never loaded the page they report on, or that report full URLs where WP Rocket expects bare domains.- Outbound requests from your web server to unfamiliar hosts,
nip.ionames ortrycloudflare.comtunnels. - Unexpected PHP files in
wp-content/wp-rocket-config/,wp-content/uploads/or directly inwp-content/, for examplewp-media-*.php.
The update stops new attacks, but it does not remove files an attacker already planted. If a site ran a vulnerable version without protection, check the directories above and review historical logs.
What to do now
Update WP Rocket to version 3.24.2 or later. If you can’t update right away, turn off both LazyLoad for CSS background images and Host Fonts Locally, or rely on Patchstack’s RapidMitigate rule for CVE-2026-125812, which blocks these exploitation attempts without touching plugin code. The rule was live more than two days before the first attack arrived.
We’re continuing to monitor this campaign and will update this post as the activity evolves.
🤝 You can help us make the Internet a safer place
Streamline your disclosure process to fix vulnerabilities faster and comply with CRA.
Get started for freeProtect your users too! Improve server health and earn added revenue with proactive security.
Patchstack for hostsReport vulnerabilities to our gamified bug bounty program to earn monthly cash rewards.
Learn more


