Intel

AIKIDO-2026-387968

W3 Total Cache is vulnerable to Path Traversal

Path TraversalCVE-2026-18051 Published Yesterday

96

Critical Risk

This Affects:

PHPW3 Total Cache
0.0.1 - 2.10.4
Fixed in 2.10.5
Are you affected? Scan for Free

TL;DR

The page cache key is built from the request path without rejecting traversal segments, so cache file paths can escape the intended cache directory. An unauthenticated attacker can write a file into any existing directory on the server, inside or outside the web root, and overwrite whatever occupies that name. On Apache this can overwrite .htaccess files, breaking the site and removing hardening rules. The fix validates the request path used when constructing cache file names.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

W3 Total Cache is vulnerable to Path Traversal in versions 0.0.1 - 2.10.4.

How to fix this

Upgrade the W3 Total Cache library to the patch version.