Threat watch / Vulnerability
WP Rocket: a critical flaw that lets anyone run code on WordPress sites is exploited at scale
WP Rocket, a WordPress caching plugin from the French company WP Media that Patchstack says runs on more than 5.5 million sites, fixed CVE-2026-125812 (CVSS 9.8) in version 3.24.2 on November 19, 2026. On sites with LazyLoad for CSS background images or Host Fonts Locally enabled, an unauthenticated attacker can make the site save attacker content as a PHP file and run it. Patchstack says it saw the first exploitation attempt on November 25 at 15:27 UTC, automated campaigns within a day, and tens of thousands of blocked attempts on November 26 alone. No number of compromised sites has been published. Updating does not remove files already planted.
- Sector
- Many sectors
- Way in
- Software flaw
- Product or vendor
- WP Rocket
- How it happened
- A path traversal flaw in how WP Rocket builds its cache file paths: the URL path was appended to the cache folder without resolving "..". A public, unauthenticated request to admin-ajax.php (action rocket_beacon) carrying crafted URLs makes the site download attacker content and save it as a PHP file outside the cache folder, from which it can be run. Only sites with LazyLoad for CSS background images or Host Fonts Locally enabled are exploitable, according to Patchstack; both are off by default.[1][3][4] Checked 30 Nov 2026
- What was stolen
- Not public yet Checked 30 Nov 2026
- Who was impacted
- WordPress sites running WP Rocket before 3.24.2 with one of the two features enabled. Patchstack has blocked tens of thousands of attempts but has not published a number of compromised sites.[1][3] Checked 30 Nov 2026
- Threat actor
- Not attributed
- CVE
- CVE-2026-125812
Timeline
- The researcher Vorelito reports the flaw through Patchstack's bug bounty programme. [2][3]
- WP Media releases WP Rocket 3.24.2, which fixes the flaw. [3][4]
- Patchstack publishes its advisory: unauthenticated remote code execution, CVSS 9.8. [2]
- Patchstack sees the first exploitation attempt at 15:27:11 UTC. The same day, ZeroPath publishes an analysis saying the sources it reviewed did not yet confirm exploitation in the wild. [1][4]
- Automated campaigns follow: Patchstack says it blocked tens of thousands of attempts that day alone, from bare IPs, tunnels and possibly compromised WordPress sites. [1]
- IT-Connect reports the active exploitation in French. Patchstack advises updating to 3.24.2 or later and looking for PHP files named wp-media-*.php in wp-content/wp-rocket-config/, wp-content/uploads/ or wp-content/, since the update does not remove them. [1][3]