WP Rocket Patches Critical Unauthenticated RCE Flaw Under Active Exploitation

Summary
Patchstack reports active exploitation of CVE-2026-125812, an unauthenticated PHP code-execution flaw in WP Rocket versions before 3.24.2. The patch stops new attacks but does not remove files attackers may have planted.
Key points
- CVE-2026-125812 is rated 9.8 and affects WP Rocket versions before 3.24.2, released November 19, 2026.
- The flaw can let unauthenticated attackers make affected sites download attacker-controlled content and save it as an executable PHP file.
- The issue requires either CSS background-image LazyLoad or Host Fonts Locally to be enabled; both features are off by default.
- Patchstack recorded an exploitation attempt on November 25 and reported tens of thousands of blocked attempts on November 26.
- Wordfence said it blocked 135 attacks targeting the vulnerability in the preceding 24 hours.
- Patchstack warns that updating prevents new attacks but does not remove files that may already have been planted; it advises checking relevant directories and historical logs.
Article Details
- Vulnerability Types
- Unauthenticated remote code execution
- Insufficient URL validation
- Severity
- Critical (CVSS 9.8)
- Affected Versions
- WP Rocket versions before 3.24.2
- Exploitation Status
- active
- Exploit Availability
- unknown
- Patch Status
- available
MITRE ATT&CK
T1059 · Command and Scripting InterpreterThe downloaded PHP code is subsequently executed on the affected site.T1105 · Ingress Tool TransferThe crafted report causes the vulnerable site to download attacker-controlled content and save it as a PHP file.T1190 · Exploit Public-Facing ApplicationAttackers exploit the vulnerable WP Rocket measurement endpoint by sending a crafted report to an affected site.
