CVE-2026-18051
JSON

10.0critical

W3 Total Cache < 2.10.5 - Unauthenticated Arbitrary Directory File Write and .htaccess Overwrite via Path Traversal in the Page Cache Key

Severity
10.0critical CVSS:3.1 by CISA-ADP
Exploit likelihood
1.90% (higher than 80% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Unknown W3 Total Cachebefore 2.10.5CVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

El plugin de WordPress W3 Total Cache anterior a la versión 2.10.5 no valida correctamente la ruta de la solicitud que utiliza para construir nombres de archivos de caché, permitiendo a atacantes no autenticados escribir un archivo en cualquier directorio existente en el servidor, dentro o fuera de la raíz web, sobrescribiendo lo que ocupe el nombre de destino. En Apache, el mismo fallo sobrescribe los archivos .[htaccess] del sitio, lo que rompe el sitio y puede eliminar reglas de endurecimiento en las que se basan otras medidas de seguridad.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-18051 changed 2026-08-19CVE Terms of Use
NVDCVE-2026-18051 changed 2026-11-09Public domain