// 2 CVE · 1 EXPLOIT · 1 ADVISORY IN THE LAST 24H→
CVE-2026-125812 enables unauthenticated RCE on millions of WordPress sites via WP Rocket's LazyLoad CSS and local font optimization features. Patchstack detected automated exploitation six days after the fix was released.

WP Rocket, a WordPress plugin installed on over 5.5 million sites, has been targeted by automated exploitation campaigns since November 25, 2026. The vulnerability CVE-2026-125812, a path traversal flaw leading to unauthenticated remote code execution, affects versions 3.15 through 3.24.1. It requires at least one of two optimization options to be active: "LazyLoad for CSS background images" or "Host Fonts Locally." The patch has been available since November 19, 2026.

Key Takeaways
  • The path traversal mechanism exploits cache write path construction without canonicalization, allowing escape from the intended directory to drop executable PHP files.
  • The attack is fully unauthenticated: it extracts a nonce from a public page, then sends a POST request to the rocket_beacon AJAX endpoint with a manipulated URL.
  • Patchstack observed the first in-the-wild exploitation on November 25, 2026 at 15:27 UTC; the following day, automated campaigns began with over 25,000 malicious requests blocked.
  • Updating to 3.24.2 does not remove files or accounts created by attackers on already compromised sites.

The Mechanism: When Optimization Becomes an Entry Point

The technical core of the flaw lies in the caching logic for external resources. WP Rocket offers two features that download assets otherwise hosted on third-party servers locally: Google Fonts and CSS background images managed with lazyload. The plugin constructs the write path by concatenating the base cache path with the source URL's path component, without applying bounding or normalization of ../ sequences.

According to Horizon3's technical analysis, an attacker-controlled URL produces a write trajectory that escapes the cache directory. The downloaded content, which can be arbitrary PHP code, becomes executable by the web server.

The attack chain requires two HTTP requests: a GET on a public page of the target site to extract the nonce, followed by a POST to the wp_ajax_nopriv_rocket_beacon endpoint with the crafted URL in the preload_fonts parameter. The malicious file is written upon the next page visit. The public PoC on GitHub technically validates this sequence, including a bypass of the font URL validation via double slash.

Compressed Timeline: Six Days from Patch to Automated Campaigns

WP Media released WP Rocket 3.24.2 on November 19, 2026. Patchstack published its advisory on November 23. The first in-the-wild exploitation was detected on November 25 at 15:27 UTC. By November 26, activity had morphed into automated campaigns.

"Within a day the activity had turned into automated campaigns, with tens of thousands of blocked attempts on November 26 alone" — Patchstack, reported by SecurityWeek

Patchstack blocked over 25,000 malicious requests from multiple attackers in a single day, according to BleepingComputer. The top 10 most active IP addresses generated roughly half of the blocked attempts. Sources indicate multiple independent operators: some send identical payloads site after site, others use rotating proxy pools with residential addresses. "Attackers use both feature paths, sometimes in one request, so that whichever feature a site has enabled, one of them fires," Patchstack noted.

On November 26, WP Media released version 3.24.3. Version 3.24.2 fixes the vulnerability by introducing "stricter validation of cached CSS, font, and preconnect files, clamping the write path and rejecting non-font content," according to Horizon3's analysis.

Immediate Actions

  • Update immediately to WP Rocket 3.24.2 or higher to cut off the attack vector on sites not yet compromised.
  • Disable "LazyLoad for CSS background images" and "Host Fonts Locally" on all instances where an immediate update is not feasible; both features are disabled by default but are often enabled for performance optimization.
  • Check the webroot and cache directories for unauthorized PHP files or persistent modifications, since the update does not remove pre-existing compromise artifacts.
  • Verify with your hosting provider whether the Patchstack mitigation has been deployed, which has made a helper plugin available across multiple sites.

Editorial Analysis: Implicit Trust in Automated Optimization Flows

DeafNews comments: What makes CVE-2026-125812 significant beyond the single flaw is the trust structure it exposes. Performance optimization features assume external content can be downloaded, rewritten, and served locally without risk. This paradigm inserts a significant attack surface where validation is absent or insufficient.

The case also documents the temporal compression between patch and exploitation: six days from fix release to automated campaigns. This window, though brief, reflects the speed at which threat actors integrate patches into their operations. Sites with expired subscriptions may be exposed; the source does not quantify this portion of the installed base.

For WP Rocket's 394,000 customers with active licenses, the source does not specify technical resources available for manual countermeasures. No independent public advisory appears in the sources consulted beyond Patchstack's.

Methodological Note on Source Limitations

The reconstruction relies primarily on Horizon3's technical analysis. Quantitative exploitation data comes exclusively from Patchstack: SecurityWeek and BleepingComputer report the same data. Patchstack is the sole source for quantitative exploitation data; the secondary editorial sources both depend on Patchstack as the original source. The exact number of sites successfully compromised is not available: the data concerns only blocked attempts, not attack successes.

Sources


Sources and references
  1. horizon3.ai
  2. nvd.nist.gov
  3. securityweek.com
  4. bleepingcomputer.com