# 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

- Severity: Critical 10.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.90%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-19T06:00:18.573Z
- Modified: 2026-11-09T20:10:00.200Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unknown W3 Total Cache: before 2.10.5

## References

- <https://wpscan.com/vulnerability/dc56cdd2-419b-4a64-9d2a-29dc7e79cb6d/> (exploit, technical-description, vdb-entry)

## Sources

- CVE List: [CVE-2026-18051](https://www.cve.org/CVERecord?id=CVE-2026-18051), CVE Terms of Use, modified 2026-08-19
- NVD: [CVE-2026-18051](https://nvd.nist.gov/vuln/detail/CVE-2026-18051), Public domain, modified 2026-11-09

---

Page: https://cve.day/CVE-2026-18051 · Whole record: https://cve.day/CVE-2026-18051.json · Rebuilt by cve.day 2026-11-25T22:59:33.901Z
