Path Traversal in Traefik
CVE-2026-67309
Traefik versions >= v3.7.0 and <= v3.7.7 contain a path traversal vulnerability in the Kubernetes Ingress NGINX provider's RewriteTarget middleware (generated from the nginx.ingress.kubernetes.io/rewrite-target annotation). When an Ingress path uses a regex that captures attacker-controlled text without requiring a path separator (e.g., path /api(.*) with rewrite target /$1), a crafted request such as /api../admin matches the public router, is rewritten to a dot-segment traversal path (/../admin), and is forwarded without post-replacement normalization validation. A backend that normalizes dot segments resolves the path to a protected endpoint (e.g., /admin) reachable only through a separate router secured with BasicAuth, DigestAuth, or ForwardAuth, resulting in route-level authentication bypass. The issue is fixed in v3.7.8.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.007, 52.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Traefik — versions 3.7.8, 3.7.0
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-8rxv-jg7p-wvg3) (vendor-advisory, Exploit, Patch, Mitigation, Vendor Advisory)
- Patch Commit (Patch, patch)
- Patch Commit (Patch, patch)
- VulnCheck Advisory: Traefik v3.7.0 Path Traversal via RewriteTarget Authentication Bypass (Third Party Advisory, third-party-advisory)