Attackers are exploiting a critical flaw in WP Rocket, one of the most widely installed WordPress performance plugins, to write PHP files onto websites and run their own code without ever logging in. Patchstack, which assigned the bug as CVE-2026-125812 and scores it 9.8 out of 10, reports more than 5.5 million installs of the plugin.
WP Rocket shipped the fix in version 3.24.2 on November 19, 2026. According to research published by the Kudelski Security team on December 2, Patchstack recorded the first exploitation attempt at 15:27 UTC on November 25, the same day the CVE went public, and logged tens of thousands of blocked attempts on November 26 alone.
Two optional features open the door
Not every WP Rocket site is exposed. WP Rocket's own advisory says versions 3.15 through 3.24.1 are affected only when at least one of two settings is switched on: "LazyLoad for CSS background images" or "Self-host Google Fonts". Under those conditions, the vendor says, an attacker can execute arbitrary code on the site without authentication.
The weak spot is a public WordPress AJAX endpoint. Kudelski Security explains that the plugin's rocket_beacon action, reached through /wp-admin/admin-ajax.php, does not validate the URLs it is sent strictly enough, so an attacker can get the plugin to write a PHP file to disk and then execute it with the web server's privileges. The NVD record, sourced from Patchstack's database entry, classes it as a path traversal (CWE-22). A file running as the web server is effectively full control of the WordPress install, which is why remote file-write bugs in plugins keep turning into webshell campaigns.
Peru's national digital security centre flagged the same flaw in its integrated alert N° 242-2026 on December 3, noting that the activity seen so far looks automated and opportunistic and has not been tied to any named group.
Update to 3.24.2, then hunt back to November 25
Patching closes the hole but does not clean up after it. Kudelski Security stresses that the update does not remove files an attacker already planted, and WP Rocket says the same about files and accounts an intruder may have created. Site owners should:
- Update WP Rocket to 3.24.2 or later.
- If an update is not possible, for example on an expired licence, turn off both "LazyLoad for CSS background images" and "Self-host Google Fonts" under WP Rocket, Page Optimization, Image and Media (the Media tab on versions before 3.24). WP Rocket also publishes a small helper plugin that disables both features across many sites.
- Block or inspect POST requests to admin-ajax.php carrying action=rocket_beacon at a WAF or reverse proxy.
- Review web server and WAF logs back to at least November 25, 2026.
What an infected site looks like
Kudelski Security and the Peruvian alert point defenders to the following signs:
- Unexpected PHP files matching wp-media-*.php in wp-content/wp-rocket-config/, wp-content/uploads/ or wp-content/.
- rocket_beacon requests from clients that never loaded the page they report, or that send full URLs where bare domains are expected.
- Outbound connections to unfamiliar hosts, including nip[.]io names and trycloudflare[.]com tunnels.
Kudelski Security's advice is to treat any internet-facing site that ran a vulnerable version with either feature enabled since November 25 as potentially compromised until that hunt is done. With exploitation starting within hours of the CVE going public, the gap between a patch and a breach on WordPress is now measured in a single afternoon.
This briefing is provided by IntelFusions for informational and defensive purposes only. It is based on sources assessed to be reliable at the time of writing, and analytic judgments carry the confidence levels indicated. Indicators of compromise are defanged; re-arm them only in controlled environments. IntelFusions is not affiliated with the organizations named and makes no warranty as to completeness or accuracy.