← All security news
SecurityVulnerabilityCRITICALEXPLOITED IN THE WILD

Update WP Rocket now: attackers are exploiting CVE-2026-125812 to plant PHP files on WordPress sites running versions before 3.24.2

· 1 min read

Patchstack says attacks on CVE-2026-125812 in the WP Rocket caching plugin began on 25 November and turned into automated campaigns the next day. Sites before 3.24.2 with LazyLoad for CSS backgrounds or self-hosted fonts turned on are at risk. Updating does not remove files already planted.

WP Rocket

WP Rocket, a paid caching plugin that WP Media says runs on more than 5.6 million websites, has a critical flaw, CVE-2026-125812, and attackers are already exploiting it. Patchstack rates it CVSS 9.8 and says an attacker with no login can write and run PHP code on an affected site. The fix is in WP Rocket 3.24.2, released on 19 November 2026; the newest release is 3.24.3 (26 November).

Who is at risk: sites on WP Rocket 3.24.1 or earlier that have at least one of two features turned on: LazyLoad for CSS background images or self-hosting Google Fonts (Host Fonts Locally). Both are off by default, but Patchstack says they are common on sites tuned for speed.

How it works: according to Ostorlab's analysis, WP Rocket turned stylesheet and font URLs into file paths without checking that they stayed inside its cache folder, and did not block a .php extension. A crafted report sent to the plugin's rocket_beacon action through /wp-admin/admin-ajax.php could therefore write a PHP file elsewhere on the server.

Exploitation: Patchstack saw the first attack on 25 November 2026 at 15:27 UTC, and tens of thousands of blocked attempts on 26 November as automated campaigns began. Ten IP addresses sent about half of them. Ostorlab notes that the flaw was not on CISA's Known Exploited Vulnerabilities list and no public proof of concept had appeared as of 28 November. WP Rocket does not update itself unattended, and an expired licence cuts off updates, so many sites may still be on an old version.

More news