WP Rocket Flaw Exploited Within Days of Patch Release

Summary
Patchstack reports active exploitation of critical WP Rocket vulnerability CVE-2026-125812, which can enable unauthenticated code execution on sites with certain features enabled. Version 3.24.2 patched the flaw, but cleanup may still be needed.
Key points
- CVE-2026-125812 affects WP Rocket versions 3.15 through 3.24.1 and has a CVSS score of 9.8.
- A crafted report can make a vulnerable site download attacker-controlled content as a PHP file, potentially enabling unauthenticated code execution.
- Exploitation requires LazyLoad for CSS background images or Self-host Google Fonts to be enabled; both features are disabled by default.
- Patchstack says exploitation began November 25, six days after WP Rocket 3.24.2 was released on November 19.
- Patchstack reported tens of thousands of blocked attempts on November 26 and observed several independent operators using varied payload-hosting infrastructure.
- Administrators should update WP Rocket and check for exploitation; patching does not remove files or accounts attackers may have created.
- If an update is not immediately possible, disabling the two affected features mitigates the attack paths.
Article Details
- Vulnerability Types
- Unauthenticated remote code execution
- Insufficient URL validation
- Severity
- Critical (CVSS 9.8)
- Affected Versions
- WP Rocket 3.15 through 3.24.1
- Exploitation Status
- active
- Exploit Availability
- unknown
- Patch Status
- available
- Workarounds
- Disable the LazyLoad for CSS background images and Self-host Google Fonts features.
