CVE-2026-18051

Critical

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.

SeverityCritical
CVSS10.0
Exploit probability—
ProductW3 Total Cache
PublishedAug 19, 2026
First seenAug 19, 2026

How to fix

Update
  • W3 Total Cache2.10.5 or later

Affected products

ProductAffected versionsFixed in
W3 Total Cachev < 2.10.52.10.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.