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

Home › News › PHP

News Critical CVE Analysis

Critical Path Traversal Flaw in WP Rocket Plugin Can Lead to RCE

A critical unauthenticated path traversal vulnerability, CVE-2026-125812, affects the WP Rocket WordPress plugin and can result in remote code execution. Versions before 3.24.2 are affected.

PHPWordPressWebVulnerabilities

Key points

  • CVE-2026-125812 is a critical unauthenticated path traversal flaw in the WP Rocket WordPress plugin that can lead to RCE.
  • WP Rocket versions before 3.24.2 are affected, per the NVD.
  • The flaw is classified as improper limitation of a pathname to a restricted directory.

What happened

According to Horizon3.ai, the WP Rocket WordPress plugin contains a critical security flaw tracked as CVE-2026-125812. The issue is described as an unauthenticated path traversal that can lead to remote code execution (RCE), making it a serious risk for affected sites.

Who is affected

The vulnerability is an improper limitation of a pathname to a restricted directory, classified as path traversal, in WP Media's WP Rocket plugin. Per the NVD entry, the problem affects WP Rocket versions before 3.24.2.

Why it matters

Because the flaw is reported as exploitable without authentication and can result in code execution, an attacker who reaches a vulnerable site could potentially gain significant control. WP Rocket is a widely used WordPress plugin, which broadens the potential exposure.

What to do

The NVD data indicates the issue is resolved in version 3.24.2, so administrators should update to that release or later. For full technical details and any additional mitigations, refer to the original report from Horizon3.ai.

What to do

  1. Update WP Rocket to version 3.24.2 or later.
  2. Review the Horizon3.ai report for affected versions and mitigation details.

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

Horizon3.aihorizon3.ai

“CVE-2026-125812”

CVE-2026-125812 is a critical unauthenticated path traversal in the WP Rocket WordPress plugin leading to RCE. See affected versions, fixes, and mitigations.

Vulnerabilities mentioned

More on this topic