December 4, 2026
One Page Speed Setting, One Critical Flaw: The WP Rocket Lesson
Caching plugins are the quiet workhorses of WordPress. You install one, tune a few settings for a better speed score, and forget about it…
By Affixcenter
1 min read
Caching plugins are the quiet workhorses of WordPress. You install one, tune a few settings for a better speed score, and forget about it. That habit is exactly what makes CVE-2026–125812 in WP Rocket worth a careful read. It is rated 9.8, needs no login, and has been under automated attack since late November 2026.
How the flaw works, in plain words
WP Rocket runs a small script in the visitor's browser that measures the page and reports back to the site. Patchstack found those reports were not checked strictly enough. An attacker could send a fake report that makes the site download their content and save it as a PHP file, which the server then runs.
- Affected: versions before 3.24.2
- Only when "LazyLoad for CSS background images" or "Host Fonts Locally" is enabled
- Fixed: 3.24.2, released 19 November 2026
- First recorded attempt: 25 November 2026
The part people miss
Patching stops new attacks, but it does nothing about files already planted. After updating, look for unknown PHP files (such as wp-media-*.php) under wp-content, and check server logs for rocket_beacon POST requests from clients that never loaded a page, or outbound connections to nip.io names or trycloudflare.com tunnels.
- Audit every site, including old microsites.
- Back up, then update.
- Rotate admin, hosting, database and FTP passwords if anything looks off.
- Move to weekly plugin updates and add a web application firewall.
Full guide: https://affixcenter.com/blog/wp-rocket-rce-flaw-december-2026
Written by the team at Affix Center, a Mumbai-based IT services company. https://affixcenter.com/cybersecurity