# Traefik path traversal in Kubernetes Ingress NGINX RewriteTarget

Source: https://junglewise.ai/threats/traefik-path-traversal-in-kubernetes-ingress-nginx-rewritetarget-0cb6afa7  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-01. Updated: 2026-08-06  
License: CC BY 4.0 with a link back

Severity: high · CVSS 7.8 · Published 2026-08-01

Traefik, a popular cloud-native application proxy, contains a vulnerability in how it handles specific URL rewriting rules for Kubernetes environments. An attacker can craft a malicious web request that tricks the system into bypassing security controls like login screens or access restrictions. This could allow unauthorized access to sensitive administrative data or internal services that were intended to be protected.

Technologies: [github.com/traefik/traefik/v3 (Go)](https://junglewise.ai/threats/technologies/github-com-traefik-traefik-v3), [Traefik Labs Traefik Proxy](https://junglewise.ai/threats/technologies/traefik-proxy). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [Traefik Labs](https://junglewise.ai/threats/vendors/traefik-labs).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** High severity, with a CVSS score of 7.8, published 1 August 2026.

**Which products and versions are affected?** github.com/traefik/traefik/v3 (Go) >= 3.7.0, <= 3.7.7; Traefik Labs Traefik Proxy >= v3.7.0, <= v3.7.7.

**Is there a fix for This vulnerability?** A patch was published on 2026-08-06: Duplicate advisory withdrawn in favor of original GHSA-8rxv-jg7p-wvg3 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is This vulnerability attacked?** It is attacked over the network, in a software library.

**Am I affected?** Check whether you run github.com/traefik/traefik/v3 (Go) or Traefik Labs Traefik Proxy at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A path traversal vulnerability exists in Traefik's Kubernetes Ingress NGINX provider's RewriteTarget middleware. When an Ingress path uses a regex that captures attacker-controlled text without requiring a path separator (e.g., /api(.*) with rewrite target /$1), a crafted request like /api../admin is rewritten to /../admin. Because Traefik forwards this rewritten path without post-replacement normalization validation, a backend that normalizes dot segments will resolve the path to a protected endpoint (e.g., /admin). This allows an attacker to bypass middlewares such as BasicAuth, DigestAuth, or ForwardAuth that are attached to the intended protected router. The issue is fixed in v3.7.8.

## Affected products

- Traefik Labs Traefik >= v3.7.0, <= v3.7.7

## Timeline

- 2026-07-16: advisory: Original advisory GHSA-8rxv-jg7p-wvg3 published
- 2026-08-01: disclosed: Duplicate advisory GHSA-7qf5-7ppr-87v8 published
- 2026-08-06: patched: Duplicate advisory withdrawn in favor of original GHSA-8rxv-jg7p-wvg3

## References

- [https://github.com/traefik/traefik/security/advisories/GHSA-8rxv-jg7p-wvg3](https://github.com/traefik/traefik/security/advisories/GHSA-8rxv-jg7p-wvg3)
- [https://github.com/traefik/traefik/commit/69259c3acc9d4bdc065cb2e3b83336f7de3e7038](https://github.com/traefik/traefik/commit/69259c3acc9d4bdc065cb2e3b83336f7de3e7038)
- [https://github.com/traefik/traefik/commit/b93f02cd07b79490fb8c8f02e301a7a1ec553195](https://github.com/traefik/traefik/commit/b93f02cd07b79490fb8c8f02e301a7a1ec553195)
- [https://www.vulncheck.com/advisories/traefik-path-traversal-via-rewritetarget-authentication-bypass](https://www.vulncheck.com/advisories/traefik-path-traversal-via-rewritetarget-authentication-bypass)

## Related threats

- [Traefik readTimeout not enforced on HTTP/3 connections](https://junglewise.ai/threats/cve-2026-88012-traefik-readtimeout-not-enforced-on-http-3-connections)
- [Traefik ForwardAuth identity spoofing via header alias](https://junglewise.ai/threats/cve-2026-88011-traefik-forwardauth-identity-spoofing-via-header-alias)
- [Traefik rootless HTTP/1 request-target routing bypass](https://junglewise.ai/threats/cve-2026-88009-traefik-rootless-http-1-request-target-routing-bypass)
- [Traefik HTTP request smuggling via unrestricted protocol upgrade](https://junglewise.ai/threats/cve-2026-88008-traefik-http-request-smuggling-via-unrestricted-protocol-upgrade)
- [Traefik HTTP/3 backend NTLM connection reuse](https://junglewise.ai/threats/cve-2026-88007-traefik-http-3-backend-ntlm-connection-reuse)
