Start trial

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

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.

PublishedNovember 27, 2026
Dave Jong avatar
Dave Jong
Security Research Lead at Patchstack

WP Rocket

Unauthenticated Remote Code Execution

5.5M+
CVSS 9.8

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.

CVECVE-2026-125812
ProductWP Rocket
Vulnerability TypeUnauthenticated Remote Code Execution
CVSS9.8 (Critical)
Exploitation StatusActive exploitation observed
Authentication RequiredNo
Affected Versions< 3.24.2 (with LazyLoad for CSS background images or Host Fonts Locally enabled)
Fixed Version3.24.2
First Observed ExploitationNovember 25, 2026, 15:27:11 UTC

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

Web developers

Mitigate vulnerabilities in real-time without changing code.

See pricing
Plugin developers

Identify vulnerabilities in your plugins and get recommendations for fixes.

Request audit
Hosting companies

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

Patchstack for hosts

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.

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 addressNetworkBlocked requests
103.235.74.71Ikubaru (Indonesia)5,352
157.245.122.230DigitalOcean5,003
152.89.170.194C1V Hosting (Italy)3,455
180.232.236.101Eastern Telecom (Philippines)2,288
103.235.74.72Ikubaru (Indonesia)1,950
201.79.120.217DigitalOcean1,938
112.78.154.32Biznet (Indonesia)1,876
167.71.75.155DigitalOcean1,600
43.163.8.253Aceville / Tencent Cloud (Singapore)1,326
51.79.199.209OVH (Singapore)1,018

Detection

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

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

Plugin developer?

Streamline your disclosure process to fix vulnerabilities faster and comply with CRA.

Get started for free
Hosting company?

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

Patchstack for hosts
Security researcher?

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

Learn more

Like it? Share it.

Related articles