CVE-2026-104013: Path Traversal
Published 2026-11-21 · Updated 2026-11-24 · Source security@wordfence.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- Check the references below for the vendor's patched release of the affected product and apply it.
- Until it is patched, do not leave the affected product reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Block requests containing traversal sequences at the proxy or WAF, and run the service under an account that can only read the directories it needs.
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on confidentiality is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: Path Traversal
An attacker can use sequences such as "../" to reach files outside the intended directory, reading configuration or credentials and in some cases overwriting files.
Classified as CWE-22.
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.
Advisory text as published in the NVD record.
References
- Advisoryhttps://www.wordfence.com/threat-intel/vulnerabilities/id/3e39329a-61e4-4343-97cf-94f6120f31f5?source=cve
- Referencehttps://plugins.trac.wordpress.org/browser/wp-compress-image-optimizer/tags/7.24.04/addons/cache/cacheHtml.php#L2469
- Referencehttps://plugins.trac.wordpress.org/browser/wp-compress-image-optimizer/tags/7.24.04/addons/cache/cacheHtml.php#L386
- Referencehttps://plugins.trac.wordpress.org/browser/wp-compress-image-optimizer/tags/7.24.04/fixCss.php#L164
- Referencehttps://plugins.trac.wordpress.org/browser/wp-compress-image-optimizer/tags/7.24.04/fixCss.php#L36
- Referencehttps://plugins.trac.wordpress.org/browser/wp-compress-image-optimizer/tags/7.24.04/fixCss.php#L81
- Referencehttps://plugins.trac.wordpress.org/changeset?reponame=&old=3770647%40wp-compress-image-optimizer&new=3770647%40wp-compress-image-optimizer