Critical · 9.8 WordPress CVE-2026-125812
Critical Path Traversal Vulnerability Patched in WP Rocket WordPress Plugin
A critical path traversal vulnerability (CVE-2026-125812) in the WP Rocket WordPress caching plugin, affecting versions before 3.24.2, has been fixed by vendor WP Media. The flaw allows unauthenticated attackers to access restricted files and carries a CVSS score of 9.8.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A critical security vulnerability has been identified in WP Rocket, a widely used WordPress caching plugin developed by WP Media. The vulnerability, tracked as CVE-2026-125812, is a path traversal issue that could allow attackers to access files outside of intended directories without needing to authenticate. The vendor has released a fixed version, and site owners running WP Rocket are advised to update without delay.
What happened
A path traversal vulnerability was identified in the WP Rocket WordPress plugin, developed by WP Media. The issue is classified as Improper Limitation of a Pathname to a Restricted Directory (CWE-22), which can allow an attacker to manipulate file paths to access files or directories outside those intended by the application.
Affected versions
WP Rocket versions before 3.24.2 are affected by this vulnerability. The vendor has released version 3.24.2, which contains the fix.
Why it matters
This vulnerability is rated 9.8 out of 10 on the CVSS scale, the highest severity tier. The attack vector is network-based, requires no authentication, and no user interaction, meaning an attacker could potentially exploit it remotely without needing valid credentials or tricking a user into any action. The vulnerability carries high impact ratings for confidentiality, integrity, and availability, as recorded in the CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
Who is affected
Any WordPress site running an affected version of the WP Rocket plugin (versions before 3.24.2) is potentially exposed to this vulnerability.
Fixes and mitigation
WP Media has released version 3.24.2 of WP Rocket, which addresses this vulnerability. Site owners should update to this version as soon as possible.
Recommended action
Update WP Rocket to version 3.24.2 or later immediately. Given the critical severity, unauthenticated remote exploitability, and lack of required user interaction, this update should be prioritized as high-urgency maintenance.
PatchBriefing score
9.8 / 10 · Critical
Official CVSS: 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- WP Rocket < 3.24.2
- vulnerable
- ≥ 3.24.2
- patched
Reported fixes
WP Media has released version 3.24.2 of WP Rocket, which addresses this vulnerability. Site owners should update to this version as soon as possible.
How this was built
3 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
CVE.org database
-
WPVulnerability database
Revision history
- Published
- Generated
- Published
- Early Warning