CVE-2026-104013
CVE-2026-104013 · WP Compress <= 7.26.00 - Unauthenticated Arbitrary File Read via Path Traversal via 'css' Parameter via Cookie-Planted Boundary Directory
CVSS 5.9 · Medium · EPSS 0.9%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- wp compress – instant performance & speed optimizationNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 WPC_CACHE_COOKIES (such as pll_language, present in the default list), meaning the plugin's cookie-cache feature must be enabled with at least one tracked cookie name configured.
- Published
- Updated
Affected products and versions
wp compress – instant performance & speed optimization
- Versions
- ≥ 0, ≤ 7.26.00: Affected (semver)
No fix published
Original sources
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3e39329a-61e4-4343-97cf-94f6120f31f5?source=cve
- https://plugins.trac.wordpress.org/browser/wp-compress-image-optimizer/tags/7.24.04/fixCss.php#L164
- https://plugins.trac.wordpress.org/browser/wp-compress-image-optimizer/tags/7.24.04/fixCss.php#L36
- https://plugins.trac.wordpress.org/browser/wp-compress-image-optimizer/tags/7.24.04/fixCss.php#L81
- https://plugins.trac.wordpress.org/browser/wp-compress-image-optimizer/tags/7.24.04/addons/cache/cacheHtml.php#L2469
- https://plugins.trac.wordpress.org/browser/wp-compress-image-optimizer/tags/7.24.04/addons/cache/cacheHtml.php#L386
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3770647%40wp-compress-image-optimizer&new=3770647%40wp-compress-image-optimizer
- https://nvd.nist.gov/vuln/detail/CVE-2026-104013