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.
Published: 2026-08-19
Score: 10.0 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The W3 Total Cache plugin for WordPress fails to validate the path used to construct cache file names, enabling an unauthenticated attacker to create or overwrite files in any existing directory, including directories outside the web root. This constitutes a CWE-22 Path Traversal weakness. On Apache servers the same flaw also overwrites the site’s .htaccess, which can break the site and strip hardening rules that other security controls rely on.

Affected Systems

All WordPress sites running W3 Total Cache version 2.10.4 or earlier are affected. Any installation of the plugin before the 2.10.5 release, regardless of whether the site is served by Apache or another web server, is vulnerable.

Risk and Exploitability

The flaw carries a CVSS score of 10.0, indicating maximum severity. The EPSS score is less than 1%, suggesting a low probability of exploitation at the moment, yet the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the issue by crafting HTTP requests that include a path traversal component; authentication is not required. If an attacker writes malicious code, the description does not explicitly state the outcome; it is inferred that this could lead to arbitrary code execution or defacement.

Generated by OpenCVE AI on August 20, 2026 at 14:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade W3 Total Cache to version 2.10.5 or later.
  • Disable the W3 Total Cache plugin on any affected site until the update is installed.
  • Restore any modified .htaccess files and reapply any hardening rules that had been removed.

Generated by OpenCVE AI on August 20, 2026 at 14:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22
Metrics cvssV3_1

{'score': 10.0, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H'}


Wed, 19 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
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.
Title W3 Total Cache < 2.10.5 - Unauthenticated Arbitrary Directory File Write and .htaccess Overwrite via Path Traversal in the Page Cache Key
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-08-19T16:44:12.841Z

Reserved: 2026-07-28T12:02:07.571Z

Link: CVE-2026-18051

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-08-19T06:17:36.863

Modified: 2026-08-26T16:30:52.723

Link: CVE-2026-18051

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T14:15:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')