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 …
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/traefik/traefik/v3 | >= 3.7.0, <= 3.7.7 | 3.7.8 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Traefik | Traefik | from 3.7.0 before 3.7.8 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-8rxv-jg7p-wvg3
- https://github.com/traefik/traefik/security/advisories/GHSA-8rxv-jg7p-wvg3
- https://nvd.nist.gov/vuln/detail/CVE-2026-67309
- https://github.com/traefik/traefik/commit/759515bec1b9f628b21ea8968ef63da853be5e29
- https://www.vulncheck.com/advisories/traefik-path-traversal-via-rewritetarget-authentication-bypass
- https://github.com/traefik/traefik/commit/69259c3acc9d4bdc065cb2e3b83336f7de3e7038
- https://github.com/traefik/traefik/commit/b93f02cd07b79490fb8c8f02e301a7a1ec553195