Skip to main content
EPSS 0.6%top 55%

CVE-2026-18051: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in W3 Total Cache

0
Critical
Published: 08/19/2026 (08/19/2026, 06:00:18 UTC)
Source: CVE Database V5
Product: W3 Total Cache

Description

CVE-2026-18051 is a critical path traversal vulnerability in the W3 Total Cache WordPress plugin versions before 2.10.5. It allows unauthenticated attackers to write files to arbitrary directories on the server, including overwriting important files such as .htaccess on Apache servers. This can break the site and remove security hardening rules.

CVSS v3.1

Score 10.0critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H

Affected software

W3 Total Cache

Affected versions
>=0 <2.10.5

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 09:47:34 UTC

Technical Analysis

The W3 Total Cache WordPress plugin before version 2.10.5 improperly validates request paths used to build cache file names. This flaw enables unauthenticated attackers to perform path traversal attacks, writing files to any existing directory on the server, both inside and outside the web root. On Apache servers, this vulnerability can overwrite the .htaccess file, disrupting site functionality and removing security configurations that rely on it.

Potential Impact

An attacker can overwrite arbitrary files on the server without authentication, leading to denial of service by breaking the site and potentially removing security hardening rules. The vulnerability has a CVSS score of 10.0, indicating critical severity with high impact on integrity and availability but no confidentiality impact.

Mitigation Recommendations

A fix is available in W3 Total Cache version 2.10.5. Users should upgrade to version 2.10.5 or later to remediate this vulnerability. No other mitigations are indicated in the advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
WPScan
Date Reserved
2026-07-28T12:02:07.571Z
State
PUBLISHED

Threat ID: 6a854e93c6e8be033248b28b

Added to database: 08/19/2026, 06:34:59 UTC

Last enriched: 09/11/2026, 09:47:34 UTC

Last updated: 10/03/2026, 02:46:03 UTC

Views: 166

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses