CVE-2026-104013
published medium CVSS 3.1 · 5.9WP Compress <= 7.26.00 - Unauthenticated Arbitrary File Read via Path Traversal via 'css' Parameter via Cookie-Planted Boundary Directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| aresit | — | WP Compress – Instant Performance & Speed Optimization0 through 7.26.00 · Other versions: unaffected | Affected | Not stated | Wordfence |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| aresit | WP Compress – Instant Performance & Speed Optimization | 0 through 7.26.00 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
7- 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/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/changeset?reponame=&old=3770647%40wp-compress-image-optimizer&new=3770647%40wp-compress-image-optimizer
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3e39329a-61e4-4343-97cf-94f6120f31f5?source=cve
Provider assertions
2Wordfence · cna
WP Compress <= 7.26.00 - Unauthenticated Arbitrary File Read via Path Traversal via 'css' Parameter via Cookie-Planted Boundary Directory
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d825ca8442bb3f4c7023421cad180a59e8214b4bda0345a7988c057481df5bd0
- Ingested
- 24 Nov 2026, 00:54:29 UTC
- Source record
- Official CVE record