Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › PHP

News Critical CVE Analysis

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.

PHPWordPressWebVulnerabilities

Key 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

  1. Update WP Rocket to version 3.24.2 or later immediately
  2. Check site logs for signs of exploitation attempts given active in-the-wild targeting
  3. Consider using a web application firewall or mitigation rule such as the one Patchstack has deployed while patching

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Patchstackpatchstack.com

“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

More on this topic