[Critical] WP Rocket: Actively exploited security flaw – please update immediately
The WordPress caching plugin WP Rocket contains a critical vulnerability (CVE-2026-125812, CVSS 9.8) that allows unauthenticated attackers to remotely execute their own PHP code on the website (Remote Code Execution). The flaw has been under active attack since 25 November 2026, with attack volume rising sharply.
Affected are all WP Rocket versions before 3.24.2, provided one of the following features is enabled: LazyLoad for CSS background images or Host Fonts Locally. Both options are disabled by default but are commonly used on performance-tuned sites.
What you should do now:
Update WP Rocket to version 3.24.2 or later without delay. You have two options:
- Download the patched version from our Customer Center
- update the plugin directly via your WordPress dashboard.
If an immediate update is not possible, temporarily disable both features listed above.
Important note: The update stops new attacks but does not remove any files an attacker may have already planted. If your site ran a vulnerable version for some time, we recommend checking for suspicious PHP files (e.g. in wp-content/, wp-content/uploads/ or wp-content/wp-rocket-config/).
If in doubt, please contact our support.
https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/