Summary
CVE-2026-125812 is a path traversal vulnerability (CWE-22, Improper Limitation of a Pathname to a Restricted Directory) in the WP Rocket WordPress plugin. It is rated critical, with a CVSS v3.1 base score of 9.8. It affects WP Rocket versions before 3.24.2.
Technical details
- Root cause: improper limitation of a pathname to a restricted directory ("Path Traversal") in WP Rocket.
- Attack vector: network. The CVSS vector indicates low attack complexity, no privileges required, and no user interaction.
- Impact: the CVSS vector rates confidentiality, integrity and availability impact as high.
- The CVE record does not describe the vulnerable component, the specific request parameters, or exploitation steps.
Affected software
- WP Rocket versions before 3.24.2
Severity
- CVSS v3.1 base score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade WP Rocket to version 3.24.2 or later.
- Identify all WordPress sites in your environment that run WP Rocket and confirm the installed plugin version.
- No workarounds are documented in the CVE record. Until you can patch, consider restricting exposure of affected sites.

