Security
WP Rocket flaw CVE-2026-125812 lets unauthenticated attackers run PHP on sites with two optional features on; Patchstack reports attacks since 25 November, fix is 3.24.2
Patchstack says a critical WP Rocket flaw (CVE-2026-125812, CVSS 9.8) is being exploited. Sites with two optional features on should update to 3.24.2.
- #WP Rocket
- #CVE-2026-125812
- #WordPress
- #remote code execution
- #Patchstack
- #caching plugin
- #actively exploited
- #3.24.2
Patchstack says attackers are exploiting CVE-2026-125812, a critical unauthenticated remote code execution flaw in the WP Rocket caching plugin for WordPress. It affects versions before 3.24.2, but only on sites that have LazyLoad for CSS background images or Host Fonts Locally turned on. ZeroHour reports both options are off by default.
The essentials
- Patchstack says the flaw lets unauthenticated attackers write and execute PHP code; Rescana gives it CVSS 9.8 and says 3.24.2 was released on 19 November.
- ZeroHour, relaying Patchstack telemetry, reports a first attempt on 25 November at 15:27 UTC and tens of thousands of blocked attempts on 26 November.
- ZeroHour adds that updating does not remove PHP files already planted, so exposed sites should also be checked for them.
Who is affected
Per Patchstack, only WP Rocket versions before 3.24.2 with either LazyLoad for CSS background images or Host Fonts Locally enabled. ZeroHour says requests target admin-ajax.php with the action rocket_beacon and make the plugin fetch attacker-controlled content and save it as PHP. Sites that use neither option are described as not exposed in those sources.
A source mismatch
Brandefense dates Patchstack’s advisory to 23 November and notes that the NVD records the weakness as path traversal, while Patchstack classes the impact as unauthenticated code execution. Its entry does not describe the request sequence. Exploitation reports rest on Patchstack’s own telemetry as relayed by Rescana and ZeroHour.
What is not established
- Who is behind the attacks: not stated in the sources.
- How many sites have been compromised: not stated in the sources.
- Whether the vendor has published its own advisory: not stated in the sources.
FAQ
How do I protect my WordPress site from the WP Rocket flaw?
Update WP Rocket to 3.24.2 or later. If you ran an older version with LazyLoad for CSS background images or Host Fonts Locally on, also check the site for unexpected PHP files, since updating does not remove them.
Sources
- Patchstack: Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack (verified 2026-11-29)
- Rescana: WP Rocket CVE-2026-125812 Unauthenticated RCE Under Active Attack: Update to 3.24.2 Now (verified 2026-11-29)
- ZeroHour: WP Rocket before 3.24.2 hit by active unauthenticated RCE (verified 2026-11-29)
- Brandefense: CVE-2026-125812: WP Rocket Path Traversal, Fix Status (verified 2026-11-29)
Spotted an error in this article? Report it · Our corrections policy