Skip to content
Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack

Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack

Patchstack • November 27, 2026

Attackers are exploiting an unauthenticated RCE in WP Rocket (CVE-2026-125812). Update to 3.24.2 now. Here's what we're seeing and how to check your site.

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.

✌️ Our users are protected from this vulnerability. Are yours?

Mitigate vulnerabilities in real-time without changing code.

Identify vulnerabilities in your plugins and get recommendations for fixes.

Protect your users, improve server health and earn additional revenue.

How 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.

All attempts go to WP Rocket’s measurement endpoint:

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:

rocket_beacon requests 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.io names or trycloudflare.com tunnels.

Unexpected PHP files in wp-content/wp-rocket-config/ , wp-content/uploads/ or directly in wp-content/ , for example wp-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.

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.

Protect your users too! Improve server health and earn added revenue with proactive security.

Report vulnerabilities to our gamified bug bounty program to earn monthly cash rewards.

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.