Description
The W3 Total Cache plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 2.9.4 via the setupSources function. This makes it possible for unauthenticated attackers to read the contents of arbitrary files on the server, which can contain sensitive information. Exploitation requires enabling manual minify mode and supplying a manual-format minify filename so that the hash is empty and the f_array[] entries are not overwritten before reaching setupSources().
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version
Timeline
| 2026-05-22: | Vendor Notified |
| 2026-07-10: | Disclosed |
Credits
snr
References
www.wordfence.com/...-006f-4bba-a4ef-b23d80c00085?source=cve
plugins.trac.wordpress.org/...y/Minify/Controller/MinApp.php
plugins.trac.wordpress.org/...y/Minify/Controller/MinApp.php
plugins.trac.wordpress.org/...MinifiedFileRequestHandler.php
plugins.trac.wordpress.org/...e/tags/2.9.4/Minify_Plugin.php
plugins.trac.wordpress.org/...e&new=3585227%40w3-total-cache