Critical WP Rocket Plugin Flaw Exploited in Active Attacks
A critical path traversal vulnerability in the popular WP Rocket WordPress caching plugin, tracked as CVE-2026-125812, is being actively exploited, according to Patchstack. The flaw allows unauthenticated remote code execution.
PHPWordPressWebVulnerabilitiesKey points
- Critical unauthenticated RCE vulnerability (CVE-2026-125812) in WP Rocket caching plugin, via path traversal
- Affects all WP Rocket versions before 3.24.2
- Patchstack reports active in-the-wild exploitation
- Patchstack has deployed a mitigation rule for protection
According to Patchstack, attackers are actively exploiting a critical vulnerability in WP Media's WP Rocket caching plugin for WordPress. The flaw, tracked as CVE-2026-125812, is classified as an improper limitation of a pathname to a restricted directory, or path traversal vulnerability, which can be leveraged by unauthenticated attackers to achieve remote code execution.
According to the NVD entry, the vulnerability affects all WP Rocket versions prior to 3.24.2. WP Media has released version 3.24.2 to address the issue.
Patchstack reports that it has deployed a mitigation rule for its users to protect against exploitation attempts while sites update. Given that WP Rocket is a widely used caching plugin, the number of potentially exposed WordPress sites could be significant, and the active exploitation reported by Patchstack raises urgency for site owners to patch quickly.
No further details were provided in the sources about the specific attackers, number of compromised sites, or exploitation techniques being used in the wild.
What to do
- Update WP Rocket to version 3.24.2 or later immediately
- Check site logs for signs of exploitation attempts given active in-the-wild targeting
- Consider using a web application firewall or mitigation rule such as the one Patchstack has deployed while patching
Original report
“Critical WP Rocket RCE (CVE-2026-125812) Under Active Attack”
This blog post covers a Critical unauthenticated remote code execution vulnerability in the WP Rocket caching plugin for WordPress. Patchstack has deployed a mitigation rule to protect against exploitation of this vulnerability. If you are a WP Rocket user, update to at least version 3.24.2. This vulnerability is currently being targeted in the wild. Tracked
Also reported by
Vulnerabilities mentioned
- CVE-2026-125812 — WP Media WP Rocket Critical
- Hello Clever Gateway for WooCommerce (cleverpay-gateway) SQL Injection in Versions Through 1.8.4 (CVE-2026-136113)
- Amit Mittal Shipment Tracker for Woocommerce Vulnerable to Stored XSS
- Premmerce Brands for WooCommerce Vulnerable to DOM-Based XSS
- WPTasty AWP Classifieds Cross-site Scripting Vulnerability
- Nickboss WordPress File Upload Path Traversal Vulnerability