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
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.
Security readout for executives and security teams
Plain-English summary
A critical flaw in W3 Total Cache before 2.10.5 lets an unauthenticated internet attacker write or overwrite files in existing server directories. On Apache, attackers can overwrite .htaccess files, potentially taking sites offline and removing security rules. Confidentiality impact is not established, but integrity and availability risks are severe.
Executive priority
Remediate immediately on public-facing sites. Prioritize Apache deployments and business-critical WordPress services because exploitation could overwrite files, disrupt availability, and remove access or hardening controls without credentials. Investigate for file changes rather than assuming an upgrade alone reverses prior damage.
Technical view
Improper path validation in the page-cache key permits path traversal and arbitrary file writes outside the intended cache directory. Exploitation requires no authentication or user interaction. The CVSS 3.1 score is 10.0, with high integrity and availability impact and changed scope. Apache deployments additionally risk .htaccess overwrite.
Likely exposure
Internet-accessible WordPress sites running W3 Total Cache earlier than 2.10.5 are potentially exposed. Apache-hosted sites face the specifically documented .htaccess risk. The supplied affected-product metadata is inconsistent, listing version “0” and default status unaffected, so inventory validation is important.
Exploitation context
The WPScan reference is tagged as containing exploit information, but the supplied sources do not establish active exploitation. The CVE is not listed as KEV in the bundle. Treat exploitation as technically plausible because the flaw is remote, unauthenticated, low-complexity, and requires no user interaction.
Researcher notes
The weakness is classified as CWE-22. The supplied record supports arbitrary writes only into existing directories and overwrite of the target filename. It does not establish confidentiality loss, code execution, active exploitation, or a specific affected operating-system range. Product-version metadata conflicts with the narrative and warrants confirmation against current vendor information.
Mitigation direction
Upgrade W3 Total Cache to version 2.10.5 or later.
Check current vendor guidance for any additional remediation or configuration requirements.
Temporarily disable the plugin if immediate upgrading is impossible.
Restore altered .htaccess files from trusted backups and review their security rules.
Validation and detection
Inventory WordPress sites and record installed W3 Total Cache versions.
Confirm every installation is version 2.10.5 or later.
Inspect .htaccess files for unexpected changes, especially on Apache servers.
Review file-integrity and web-server logs for unexplained writes or cache-related anomalies.
Verify affected sites and security controls operate normally after remediation.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-22: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
2Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.