CVE-2026-104013: WP Compress <= 7.26.00 - Unauthenticated Arbitrary File Read via Path Traversal via 'css' Parameter via Cookie-Planted Boundary Directory
The WP Compress – Instant Performance & Speed Optimization plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 7.26.00 via the 'css' parameter parameter. This makes it possible for unauthenticated attackers to read the contents of arbitrary files on the server, which can contain sensitive information. Exploiting the file read requires a preparatory unauthenticated request that plants a boundary directory by injecting a path traversal sequence into a cookie listed in WPCCACHECOOKIES (such as plllanguage, present in the default list), meaning the plugin's cookie-cache feature must be enabled with at least one tracked cookie name configured.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Disable the cookie-cache feature to prevent the cookie-planted boundary-directory prerequisite.
WP Compress – Instant Performance & Speed Optimization cookie-cache feature = disabled