External risk intelligence

WP Rocket Path Traversal Vulnerability

CVE advisorySeverity: CRITICAL (CVSS 9.8)

CVE-2026-125812

The vulnerability affects a WordPress plugin, which is a component of a web application. Web applications and their associated plugins are commonly deployed as internet-facing services, making the vulnerable code paths frequently accessible via the public internet as part of the standard web server request handling process.

Path Traversal

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A Path Traversal vulnerability has been identified in the WP Rocket plugin for WordPress. This type of issue could potentially allow unauthorized access to files and directories on a web server. The primary concern at this time is to determine if our environment utilizes the affected plugin and confirm exposure.

  • Plugin allows unauthorized file access.
  • Affects a common web application component.
  • Confirm relevance and exposure to WordPress sites.

Attack Path

How an attacker could exploit the issue

An attacker could exploit this vulnerability by sending a specially crafted request to a WordPress site running the affected plugin. This request targets a feature that improperly handles file paths, allowing the attacker to navigate to and manipulate files outside of the intended directory. If successful, this could lead to the execution of arbitrary code on the server.

  • No special access needed.
  • Crafted request to file path feature.
  • Arbitrary code execution on server.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow an unauthenticated attacker to access or modify sensitive files on the server. This could occur when the affected component processes user-supplied input without properly sanitizing path information, potentially leading to unauthorized access to system or user data when supported by the advisory.

  • Server files.
  • Via manipulated requests.
  • Unauthorized data access.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability in WP Rocket requires immediate attention from the team responsible for website and plugin management. The first critical step is to pinpoint all instances of the affected WP Rocket version, verify their exposure to external networks, and confirm their business criticality to prioritize remediation efforts.

  • Website and plugin owners should lead.
  • Verify all WP Rocket installations.
  • Plan updates during the next maintenance window.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the WP Rocket plugin used for?

WP Rocket is a caching plugin for WordPress websites designed to improve site speed and performance. It works by creating static copies of your web pages, which reduces the server's processing load and accelerates page loading times for visitors. As a critical component of a web application's infrastructure, it handles various file-related operations to manage these cached resources efficiently.

What does Path Traversal mean for CVE-2026-125812?

This vulnerability is classified as CWE-22, or Path Traversal. It occurs when a software component fails to properly validate user input before using it to access files or directories. In the context of CVE-2026-125812, this weakness allows an attacker to manipulate file paths, effectively breaking out of the plugin's intended storage area to access or potentially execute files located elsewhere on the server's filesystem.

How can an attacker trigger this vulnerability?

An attacker triggers this bug by sending a specially crafted web request to the WordPress site. The request targets specific plugin features that fail to sanitize file path inputs. Importantly, the vulnerability does not require the attacker to have pre-existing credentials or special access to the site; however, it only occurs when the server processes these malicious, path-manipulating inputs through the vulnerable code path.

Why should I care about this if my site is internal?

According to Halo Surface Signal, this vulnerability is likely relevant to you because WordPress plugins are standard components of web services frequently exposed to the public internet. While an internal site faces a lower direct risk, any instance of WP Rocket before version 3.24.2 is inherently susceptible. If your site is accessible from the internet, the risk is significantly higher as attackers can reach the vulnerable code directly.

What should I do first to address this CVE?

Your first step is to conduct a thorough inventory of your WordPress environment to identify every instance where the WP Rocket plugin is installed. Once you have located all installations, verify which sites are running versions prior to 3.24.2. After identifying these vulnerable versions, prioritize them for updates during your next scheduled maintenance window to ensure the plugin is patched to a secure version.

References