A critical vulnerability in WP Rocket, one of the most widely used WordPress performance plugins, is being exploited in the wild. The flaw, tracked as CVE-2026-125812 and rated CVSS 9.8, allows an unauthenticated visitor to make a vulnerable site download attacker-controlled content and save it as a PHP file, which can then be executed.
WP Rocket fixed the bug in version 3.24.2, released on November 19, 2026. Patchstack, whose researcher Dave Jong reported the issue, says exploitation began on November 25 and became automated and large-scale within a day. Sites that have not updated, and have one of two optional features enabled, should be treated as potentially compromised.
What happened
According to Patchstack, WP Rocket includes a small script that runs in visitors’ browsers, measures each page and reports the results to a public AJAX endpoint. The plugin does not validate the URLs in those reports strictly enough. An attacker can submit a crafted report that causes the server to fetch content from a host the attacker controls and write it to disk as a PHP file.
Patchstack recorded the first exploitation attempt at 15:27 UTC on November 25, 2026, initially looking like manual testing. On November 26 the activity turned automated, with tens of thousands of attempts blocked in a day, and Patchstack says several independent operators are involved, including one using a rotating proxy pool. The Hacker News, citing Wordfence, reported that Wordfence blocked 135 attacks in a 24-hour period.
Who is affected
All WP Rocket versions before 3.24.2 are affected. Exposure also depends on configuration: the vulnerable code path is reachable only when either LazyLoad for CSS background images or Host Fonts Locally is enabled. Both are off by default but are common on sites tuned for performance. WP Rocket says the plugin is used on more than 5.5 million sites, according to The Hacker News.
Severity and exploitation
The flaw is rated critical at CVSS 9.8, needs no authentication and no user interaction, and results in arbitrary PHP execution under the web server account. Exploitation in the wild is confirmed by Patchstack. Patchstack lists the following indicators:
- POST requests to
/wp-admin/admin-ajax.phpwithaction=rocket_beacon, especially from clients that never loaded the page they report on, or that report full URLs where bare domains are expected. - Outbound connections from the web server to unfamiliar hosts,
nip.ionames ortrycloudflare.comtunnels. - Unexpected files named
wp-media-*.phpinwp-content/wp-rocket-config/,wp-content/uploads/orwp-content/.
Patchstack also published the ten source IP addresses that account for about half of the blocked attempts, led by 103.235.74.71 and 157.245.122.230. Because attackers rotate infrastructure, treat IP blocking as a supplement, not a fix.
What defenders should do now
- Update WP Rocket to 3.24.2 or later on every site, including staging and agency-managed installs.
- If you cannot update immediately, disable LazyLoad for CSS background images and Host Fonts Locally, or apply a virtual patch from your WAF or security vendor.
- Search
wp-content/wp-rocket-config/,wp-content/uploads/andwp-content/forwp-media-*.phpand any PHP file in the uploads directory that you did not place there. - Review web logs from November 25 onwards for
rocket_beaconrequests and for outbound connections to the hosts listed above. - If a planted file is found, treat the site as compromised: restore from a clean backup, rotate database, WordPress and hosting credentials, and look for new administrator accounts and scheduled tasks.
SCVM analysis
The timeline is the lesson. The fix shipped on November 19 and the first attack was recorded six days later, before most site owners had applied the update, which is typical for popular WordPress plugins once a vulnerability becomes known. The configuration condition lowers the number of exposed sites but not the urgency, because performance-minded administrators are exactly the people who switch these options on. The important point for responders is that updating does not clean a site: anyone who ran a vulnerable version with either feature enabled during the past week should hunt for dropped files rather than assume the patch closed the matter.
Sources
- The Hacker News: Hackers Target Critical WP Rocket Flaw Allowing Unauthenticated Remote Code Execution
- Patchstack: Critical WP Rocket RCE (CVE-2026-125812) under active attack
About this article: produced by the SCVM Newsroom with AI assistance from the public sources linked above, enriched with NVD, FIRST EPSS and CISA KEV data, and checked by automated quality controls under our editorial policy. Spotted an error? Request a correction.

