"It lets unauthenticated attackers write and execute PHP code on affected sites," Patchstack researcher Dave Jong warned, summing up a critical flaw that is now the focus of active exploitation.
CVE-2026-125812: how the flaw enables unauthenticated remote code execution
The vulnerability tracked as CVE-2026-125812 is rated 9.8 on the CVSS scale and affects WP Rocket versions prior to 3.24.2. At issue is a small script the plugin runs inside visitors' browsers to measure each page and report results to a public AJAX endpoint. Because the plugin does not validate the reported URLs strictly enough, an attacker can submit a crafted report that causes the site to download content from an attacker-controlled host and save it as a PHP file for later execution.
Patchstack's analysis specifically ties the exploit path to two optimization features: the LazyLoad for CSS background images feature and the Host Fonts Locally feature. Both features can be abused to trigger the vulnerable measurement flow, and both are widely used on performance-tuned sites even though they are off by default.
WP Rocket 3.24.2, install base, and the patch timeline
WP Rocket issued version 3.24.2 on November 19, 2026, which contains fixes for CVE-2026-125812. WP Rocket's website states the premium caching plugin is used by more than 5.5 million WordPress sites and over 386,000 customers worldwide—numbers that frame the potential scope of exposure for unpatched instances.
Patchstack and related advisories emphasize that the update will stop new exploitation attempts against the vulnerability, but it will not remove PHP files an attacker already planted on a compromised site. That distinction shapes remediation: patching closes the attack vector but does not complete cleanup.

This site is the portfolio.
OSINTSights runs on Cloudflare Workers, D1, R2, and Vectorize, with an AI pipeline on Hetzner ARM. Nubivance designed, built, and operates it. We do the same for clients.
See what we buildObserved exploitation: timeline, scope, and source IPs
Patchstack recorded the first exploitation attempt on November 25, 2026, at 3:27 p.m. UTC, directed at WP Rocket's measurement endpoint. What began with that initial attempt escalated into large-scale automated activity: the company reported tens of thousands of blocked attempts on November 26 alone.
Wordfence independently reported blocking activity as well, saying it had blocked 135 attacks targeting this vulnerability in a recent 24-hour window. Patchstack published a list of IP addresses that have been associated with the activity; the addresses include:
- 103.235.74.71
- 157.245.122.230
- 152.89.170.194
- 180.232.236.101
- 103.235.74.72
- 201.79.120.217
- 112.78.154.32
- 167.71.75.155
- 43.163.8.253
- 51.79.199.209
Indicators of compromise and cleanup actions
Patchstack published indicators of compromise tied to active exploitation. Defenders should look for:
- "rocket_beacon" requests from clients that never loaded the page they report on.
- Outbound requests from the web server to unfamiliar hosts, including "nip.io" domains, temporary "trycloudflare.com" tunnels, or other possibly compromised WordPress sites.
- Unexpected PHP files named with the pattern "wp-media-*.php" found in these locations: wp-content/wp-rocket-config/, wp-content/uploads/, and wp-content/.
Patchstack's guidance is explicit: while installing the update will prevent new attacks, it will not remove files an attacker already planted. If a site ran a vulnerable version without protection, administrators should check the listed directories and review historical logs for suspicious activity.
How security teams, site owners, and incident responders should respond
- Security teams and incident responders: prioritize installing WP Rocket 3.24.2 on affected sites to stop further exploitation attempts, then audit webroot and upload directories for unexpected PHP files and outbound connections to the listed indicators. The published IP addresses and the "rocket_beacon" pattern are immediate detection leads.
- Site owners and administrators: if your WordPress instance used WP Rocket versions before 3.24.2 and had either LazyLoad for CSS background images or Host Fonts Locally enabled, assume risk until you patch and perform the directory and log checks Patchstack recommends. Remember that the update alone does not remove files attackers may have already written.
- Procurement and platform owners for high-volume sites: the plugin's stated reach—more than 5.5 million sites and 386,000 customers—means unpatched instances can represent a broad exposure; owners of high-traffic or high-profile sites should treat the advisory as high priority for both patching and forensic review.
The technical record in this case is clear and actionable: a high-severity, easily automated remote code execution path exists in widely deployed software, the first exploitation was observed on November 25, and large-scale attempts followed. Installing WP Rocket 3.24.2 halts new attacks, but sites must also search for and remove any PHP files an attacker has already dropped and review logs for the telltale "rocket_beacon" and outbound request patterns Patchstack identified.
Original reporting: https://thehackernews.com/2026/12/hackers-target-critical-wp-rocket-flaw.html




