CVE-2026-18051

published 19 Aug 2026 · updated 9 Nov 2026

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

10.0CriticalCVSS 10.0EPSS 2%2 public exploits

2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 2.10.5.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<2.10.52.10.5

Exploit evidence

2 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-18051 severity on Zeptric[![CVE-2026-18051](https://zeptric.io/badge/cve/CVE-2026-18051.svg)](https://zeptric.io/cve/CVE-2026-18051)