CVE-2026-125812

WordPress WP Rocket plugin < 3.24.2 - Remote Code Execution (RCE) vulnerability

Published Nov 25, 2026 CVSS 3.1 · 9.8 Critical EPSS n/a KEV · Not listed
Description
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in WP Media WP Rocket wp-rocket allows Path Traversal.This issue affects WP Rocket: from n/a before 3.24.2.

Analysis

AI-generated

Technical impact

Improper Limitation of a Pathname to a Restricted Directory, commonly known as Path Traversal, is present in the WP Rocket plugin for WordPress. This flaw allows an attacker to supply crafted requests that cause the plugin to resolve file paths outside its intended directory. Based on the description, it is inferred that an attacker could use this traversal to upload or execute arbitrary code on the site, leading to full system compromise.

Affected Systems

The WP Rocket plugin distributed by WP Media for WordPress versions earlier than 3.24.2 is affected. Any installation of WP Rocket prior to the 3.24.2 update is vulnerable, while versions 3.24.2 and later are considered fixed. The vulnerability targets the plugin’s handling of HTTP parameters that dictate file paths and does not directly impact core WordPress files.

Risk and Exploitability

The CVSS score of 9.8 indicates critical severity, and no EPSS score is available, implying no publicly reported exploitation incidents yet. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is through crafted HTTP requests to the plugin’s endpoints, and an attacker may need network or local access to the web server to exploit this path traversal.

Remediation

Vendor Solution

Update the WordPress WP Rocket plugin to the latest available version (at least 3.24.2).


OpenCVE Recommended Actions

  • Update the WP Rocket plugin to version 3.24.2 or later to apply the vendor fix.
  • Restrict file system permissions for WordPress directories, especially the plugin’s configuration files and uploads folder, to prevent write access by the web server process.
  • Deploy web application firewall rules that block or rate-limit URLs containing patterns such as ".." or excessive slashes, mitigating path traversal attempts.
  • Continuously monitor web server and application logs for suspicious file access requests.

Generated by OpenCVE AI on November 25, 2026 at 14:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in WP Media WP Rocket wp-rocket allows Path Traversal.This issue affects WP Rocket: from n/a before 3.24.2.
Title WordPress WP Rocket plugin < 3.24.2 - Remote Code Execution (RCE) vulnerability
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Nov 25, 2026, 12:09 PM
Reserved
Nov 10, 2026, 12:37 PM
Status
Deferred
Published
Nov 25, 2026, 1:17 PM
Modified
Nov 25, 2026, 1:17 PM