CVE-2026-67309: Traefik v3.7.0 Path Traversal via RewriteTarget Authentication Bypass
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Traefik v3.7.0 Path Traversal via RewriteTarget Authentication Bypassto a version that resolves this vulnerability.Fixed in 3.7.8
Event History
Frequently Asked Questions
What is the severity of CVE-2026-67309?
CVE-2026-67309 has a severity score of 62, indicating a moderate risk.
How do I fix CVE-2026-67309?
To fix CVE-2026-67309, upgrade Traefik to version 3.7.8 or later.
Which versions of Traefik are affected by CVE-2026-67309?
Traefik versions >= 3.7.0 and <= 3.7.7 are affected by CVE-2026-67309.
What is the nature of the vulnerability in CVE-2026-67309?
CVE-2026-67309 is a path traversal vulnerability that allows authentication bypass via the RewriteTarget middleware.
Is my Kubernetes Ingress at risk due to CVE-2026-67309?
Yes, if you are using Traefik versions 3.7.0 to 3.7.7 with the Ingress NGINX provider, your setup may be at risk.