· via dev.to (home feed)
Actively exploited unauthenticated RCE in WP Rocket caching plugin; patch to 3.24.2
Patchstack reports active exploitation of CVE-2026-125812, an unauthenticated remote code execution flaw in the WP Rocket caching plugin. Sites running versions before 3.24.2 need to update immediately.
Active exploitation of an unauthenticated RCE
On 27 November 2026, the security company Patchstack reported that an unauthenticated remote code execution vulnerability in WP Rocket, a widely used caching plugin for WordPress, is being exploited in the wild. The flaw, tracked as CVE-2026-125812, affects all versions released before 3.24.2, which shipped on 19 November 2026 — eight days before the exploitation report.
Patchstack's telemetry, summarised in a write-up published on dev.to, shows the campaign ramping up quickly: the first recorded exploitation attempt landed on 25 November at 15:27 UTC, and the following day the firm blocked tens of thousands of requests, with roughly half of that volume coming from just ten IP addresses.
How the attack works
The weakness sits in the plugin's usage-measurement beacon. WP Rocket's front-end script reports performance data back to WordPress's public AJAX endpoint, posting to /wp-admin/admin-ajax.php with the action parameter set to rocket_beacon. Because that endpoint accepts requests from visitors who have not logged in, the entire chain requires no credentials. According to the dev.to analysis, the URLs carried in those beacon reports were not validated strictly enough. Rescana, the security firm cited in that write-up, classifies the underlying bug as CWE-22 path traversal: an attacker can arrange for a remote file to be saved inside the web root with a .php extension, then simply request that file to execute code.
The fix itself was quiet. The 3.24.2 changelog mentions only validation improvements for cached CSS, font and preconnect files — wording that gives no hint of a critical security patch, so administrators skimming release notes had little reason to treat the update as urgent.
Which sites are exposed
Not every outdated install is a viable target. Patchstack says the vulnerable code path is reachable only when at least one of two optional features is turned on: "LazyLoad for CSS background images" or "Host Fonts Locally". Both ship disabled by default, but both are exactly the settings a site owner chasing Core Web Vitals scores tends to enable — an audience that overlaps heavily with the people who install caching plugins in the first place.
Infrastructure adjacent to modern apps deserves attention too. The dev.to post notes that applications built on platforms such as Lovable, Bolt, Replit, Cursor or v0 do not run WordPress and are not directly affected, but the properties sitting next to them often do: the marketing site on www, the blog on a subdomain, or a headless WordPress feeding content to a JavaScript front end. Those installs are frequently set up once, by someone else, and rarely revisited.
How to respond
The immediate advice from the write-up is to inventory every WordPress install under your control and check its WP Rocket version, either on the Plugins screen or with wp plugin list in WP-CLI. Anything below 3.24.2 should be updated straight away. Where an update cannot be applied immediately, disabling both LazyLoad for CSS background images and Host Fonts Locally closes off the attack path until the patch lands.
Indicators of compromise
Installing the patch removes the vulnerability but not the aftermath. Patchstack's checklist for anyone who ran an older version with either feature enabled includes:
- unexpected PHP files in wp-content/wp-rocket-config/, wp-content/uploads/ or wp-content/ itself, with names like wp-media-*.php
- outbound connections from the server to nip.io names, trycloudflare.com tunnels or bare IP addresses
- rocket_beacon entries in access logs submitted by clients that never actually loaded the page they report on
The write-up adds that if the WordPress host shares a database, API keys or a service key with other systems, a confirmed compromise should be treated as a compromise of those as well, and the credentials rotated.
Why it matters
An unauthenticated remote code execution flaw in a widely deployed plugin, under active attack before most administrators knew a fix existed, is close to the worst case for WordPress security. Two details turn this from a bad week into a lesson. First, the vendor's changelog framed a critical security release as a routine validation tweak, which argues for treating low-key patch notes on security-relevant plugins with suspicion. Second, exposure depended on optional performance settings and on WordPress installs living at the edge of modern application stacks — marketing sites and headless content backends that nobody owns day to day. Those systems need the same patch discipline as the applications they sit beside, and cleanup after an incident has to reach past the plugin: to planted files, to access logs, and to every credential the server could touch.
- #wordpress
- #security
- #vulnerability
- #caching
- #rce