Attackers are exploiting a critical flaw in WP Rocket, a paid caching plugin for WordPress, that lets them run their own code on a website without logging in. The flaw, CVE-2026-125812, is fixed in version 3.24.2, released on 19 November 2026. Security firm Patchstack says attacks began on 25 November.
WP Rocket released version 3.24.2 on 19 November 2026. Its changelog describes the fix in one line: "Improve validation of cached CSS, font and preconnect files".

The fix as it appears in WP Rocket's own changelog, captured on 2 December 2026. Source: wp-rocket.me.
On 27 November, Patchstack reported that the flaw behind that line is being exploited. It rates CVE-2026-125812 at 9.8 out of 10 and says it "lets unauthenticated attackers write and execute PHP code on affected sites". According to Patchstack:

Patchstack's summary of the flaw, from its report of 27 November 2026 as captured on 2 December 2026. Source: patchstack.com.
Wordfence, another WordPress security company, lists the same flaw at 9.8. When we checked its page on 2 December 2026, it said Wordfence had blocked 28,016 attacks on this flaw in the previous 24 hours.
Nobody has said how many sites have been broken into. WP Rocket's changelog does not mention the CVE or the attacks, and we found no separate security notice from the company. The share of WP Rocket sites with either setting switched on is also unknown; Patchstack says both are off by default but "common on performance-tuned sites".
Comments