Skip to content
audiotale.net
Sign in
NewsNews

CVE-2026-125812: WP Rocket RCE exploited, update to 3.24.2 and check for planted PHP files

Attackers are exploiting a critical unauthenticated flaw in WP Rocket when two optional features are on; the fix shipped 19 November and exploitation began 25 November.

audiotale.net team

· 6 min read

Written by AI from the sources linked below. How we use AI

On this page
  1. Key points
  2. What to do
  3. What happened
  4. Background
  5. How it works
  6. What it means
  7. What we don't know yet
  8. What to watch next
  9. Sources

Attackers are exploiting CVE-2026-125812, a critical flaw in the WP Rocket caching plugin for WordPress that lets anyone on the internet make a site download and run PHP code, no login needed. The fix, WP Rocket 3.24.2, shipped on 19 November 2026, and security firm Patchstack says it saw the first exploitation attempt six days later. Sites that ran a vulnerable version with one of two optional features switched on should update, check for planted files and review their logs, because updating does not remove anything an attacker already dropped.

Key points

  • CVE-2026-125812 is an unauthenticated remote code execution flaw in WP Rocket, scored CVSS 3.1 9.8 (critical) by Patchstack, the CNA that published the record.
  • It affects WP Rocket before 3.24.2, but only when "LazyLoad for CSS background images" or the local Google Fonts hosting option is enabled; Patchstack says both are off by default.
  • WP Media released the fix, 3.24.2, on 19 November 2026; Patchstack saw the first exploitation attempt on 25 November at 15:27 UTC and automated attacks the next day.
  • Patchstack says its platform blocked more than 25,000 malicious requests; the ten busiest source addresses alone accounted for about 25,800 of the blocked attempts.
  • Updating does not clean a site that was already hit: look for unexpected PHP files and rocket_beacon requests in your logs.

What to do

Who is affected. Any WordPress site running WP Rocket older than 3.24.2 with "LazyLoad for CSS background images" or the local-fonts option (called "Self-host Google Fonts" in WP Media's advisory and "Host Fonts Locally" in some reports) turned on. WP Media's advisory gives the affected range as 3.15 through 3.24.1; other write-ups say only "before 3.24.2", so treat every earlier release as affected.

Fix. Update to 3.24.2 or later from the WordPress Plugins screen. Rescana's write-up lists a later release, 3.24.3, dated 26 November, so "3.24.2 or later" is the safe wording.

If you can't update yet (for example the licence has expired): open WP Rocket, then Page Optimization, then Image & Media (the Media tab in versions before 3.24), switch off both affected settings and confirm they stay off until you update. For many sites, WP Media offers a helper plugin named "WP Rocket | Mitigate CVE-2026-125812" that disables both features; its advisory shows the WP-CLI install command and says to activate it per subsite on multisite.

How to check whether you were hit. Patchstack lists these indicators:

  • POST /wp-admin/admin-ajax.php requests with action=rocket_beacon, especially from clients that never loaded the page they report on, or that send full URLs where bare domains are expected.
  • Outbound connections from your server to unfamiliar hosts, nip.io names or trycloudflare.com tunnels.
  • Unexpected PHP files, for example wp-media-*.php, in wp-content/wp-rocket-config/, wp-content/uploads/ or wp-content/.

If you find any of them, treat the site as compromised: ask your host or security team to investigate, and rotate credentials stored on the server. Files or accounts an attacker created need separate cleanup.

What happened

WP Rocket is a paid performance plugin. Its developer, WP Media, says it runs on more than 5.6 million sites and has 394,000 customers (another report rounds the site count to 5.5 million). On 19 November, WP Media released version 3.24.2 with the fix. According to BleepingComputer, WP Media published a security advisory urging upgrades over the weekend before 30 November, and its advisory page was last updated on 27 November.

Patchstack, which tracks WordPress vulnerabilities and sells virtual patching, says its mitigation rule had been live for more than two days before the first attack. The first exploitation attempt it recorded came at 15:27 UTC on 25 November. It looked like a single operator testing by hand, retrying with encoded payloads after being blocked. By 26 November the activity was automated, with tens of thousands of blocked attempts on that day alone.

BleepingComputer, citing Patchstack, reports that attackers targeted both vulnerable features, sometimes in the same request, so that whichever option a site has enabled gets hit. Payloads were hosted on bare IP addresses, wildcard DNS names such as nip.io, short-lived trycloudflare.com tunnels and what are likely other compromised WordPress sites. Patchstack says several independent operators are active, and that one cluster sent byte-identical requests from four residential addresses, which suggests a rotating proxy pool.

Background

WP Rocket speeds up WordPress sites by caching pages, deferring scripts and lazy-loading images. To decide what to optimise on each page, it ships a small browser-side script that measures the page and reports back to a public AJAX endpoint. That endpoint has to accept requests from anonymous visitors, which is why a validation mistake there is reachable by anyone.

WordPress plugin bugs of this kind follow a familiar pattern: a flaw is fixed and disclosed, a rule or patch goes out to the security vendors' customers, and opportunistic scanning begins within days, aimed at the long tail of sites that update slowly. In this case Patchstack's own timeline puts the first probe six days after the fix.

How it works

According to Patchstack, the browser-side script reports the page's URLs to the public AJAX endpoint (the rocket_beacon action). WP Rocket uses those URLs to optimise the page but does not validate them strictly enough. A crafted report can make the server download remote content and save it as a PHP file, which the web server then executes. Only the two features named above turn that code path on, which is why a default install is not exposed.

The CVE record lists the weakness as CWE-22 (path traversal). Patchstack's article describes the attack in terms of untrusted URLs being fetched and written to disk; the two descriptions are not reconciled in the material we could read, and we have not independently reproduced the bug.

type: bar
title: Blocked WP Rocket exploit attempts by source address, since 25 November 2026
unit: blocked requests
source: Patchstack analysis of CVE-2026-125812
highlight: 103.235.74.71 (Ikubaru, Indonesia)
103.235.74.71 (Ikubaru, Indonesia) | 5352
157.245.122.230 (DigitalOcean) | 5003
152.89.170.194 (C1V Hosting, Italy) | 3455
180.232.236.101 (Eastern Telecom, Philippines) | 2288
103.235.74.72 (Ikubaru, Indonesia) | 1950
201.79.120.217 (DigitalOcean) | 1938
112.78.154.32 (Biznet, Indonesia) | 1876
167.71.75.155 (DigitalOcean) | 1600
43.163.8.253 (Aceville / Tencent Cloud, Singapore) | 1326
51.79.199.209 (OVH, Singapore) | 1018

Patchstack's table covers requests it blocked "since 25 November"; the ten addresses account for roughly half of all blocked attempts. Several sit on shared cloud networks, so blocking them is not a substitute for patching.

What it means

For site owners the decision is simple: if WP Rocket is installed, check the version and the two settings today. Because the vulnerable features are off by default, many sites were never exposed, but anyone who enabled the CSS background lazy loading or local fonts options for speed scores is exactly who the attackers are probing.

For agencies and hosts, the value of the helper plugin is that it disables both features across a fleet without waiting for each client to update. For everyone, the episode is a reminder that "off by default" is not a fix: a site that turned a feature on a year ago is as exposed as any.

The score of 9.8 comes from Patchstack, the CNA, and is the only score on the National Vulnerability Database record, so there is no independent scoring to compare it with.

What we don't know yet

  • How many sites were actually compromised. We found no report naming breached sites, and the numbers above count blocked attempts, not successful intrusions.
  • Whether the vulnerable range starts at 3.15, as WP Media says, or earlier; other sources give no lower bound.
  • What the attackers did after gaining code execution. The payload contents are not described in the sources we read.
  • Whether CISA will add the flaw to its Known Exploited Vulnerabilities catalog. A check on 27 November found it was not listed, but that catalog version was published only hours after the first attempt.
  • Why the CVE record calls the weakness path traversal while Patchstack describes remote fetching of URLs.

What to watch next

Patchstack says it will update its post as the campaign evolves, and WP Media's advisory page may be amended. Watch for a KEV listing, for reports of mass defacement or malware injection on WP Rocket sites, and for any follow-up release after 3.24.3.

Sources

Written by

audiotale.net team

The official account of the people who run audiotale.net: announcements, conversation starters and the newsroom's drafts. Posts written with AI say so. Every other account here is a real person.