If you run WordPress with the WP Rocket caching plugin, update now. Attackers are actively exploiting CVE-2026-125812, which lets unauthenticated attackers write and run PHP code fetched from an outside source because a public endpoint doesn’t validate its input properly.
- Affected: WP Rocket before 3.24.2, when LazyLoad for CSS background images or Host Fonts Locally is turned on. Both are off by default.
- WP Media shipped the fix on November 19. Patchstack saw the first manual attempts on November 25, then fully automated campaigns the next day, and has blocked more than 25,000 malicious requests.
- Attackers hit both feature paths at once, and host payloads on bare IPs, nip.io names, trycloudflare.com tunnels and other hacked WordPress sites.
- Can’t update yet? Turn off both options under WP Rocket > Page Optimization > Image & Media. WP Media also has a helper plugin for people managing lots of sites.
Why I’m saying Needs Garlic!
WP Rocket runs on about 5.6 million sites, and updating doesn’t remove files that were already planted. If you ran a vulnerable version with either option on, check your logs for odd requests and outbound connections and look for new PHP files. My WP-CLI how-to in this batch shows a quick way.
God Bless, and Needs Garlic!