Original description
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
- Traefik *≥ 3.7.0 < 3.7.8 Fixed in: 3.7.8 repository or package match
Details
- Published
- 2026-08-01
- Last modified
- 2026-10-09
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N- CWE
- CWE-22
- EPSS (30-day exploit probability)
- 0.66% (percentile 52)
References
- cve.org/CVE-2026-67309
- nvd.nist.gov/vuln/detail/CVE-2026-67309
- github.com/traefik/traefik/security/advisories/GHSA-8rxv-jg7p-wvg3
- github.com/traefik/traefik/commit/b93f02cd07b79490fb8c8f02e301a7a1ec553195
- github.com/traefik/traefik/commit/69259c3acc9d4bdc065cb2e3b83336f7de3e7038
- www.vulncheck.com/advisories/traefik-path-traversal-via-rewritetarget-authentication-bypas...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.