Skip to content

CVE-2026-18051 W3 Total Cache < 2.10.5 - Unauthenticated Arbitrary Directory File Write and .htaccess Overwrite via Path Traversal in the Page Cache Key

CriticalCVSS 10.0 EPSS 2.0% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
WordPress

Description

The W3 Total Cache WordPress plugin before 2.10.5 does not properly validate the request path it uses to build cache file names, allowing unauthenticated attackers to write a file into any existing directory on the server, inside or outside the web root, overwriting whatever occupies the target name.
On Apache, the same flaw overwrites the site's .htaccess files, which breaks the site and can strip hardening rules that other security measures rely on.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
wordpress w3-total-cache(WordPress) < 2.10.5 2.10.5 Fixed

Affected products

ProductAffected versionsFixed in
wordpress w3-total-cache(WordPress) < 2.10.5 2.10.5

References