CVE-2026-67309Traefik 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.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Go has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Go library | github.com/traefik/traefik | Fix pending | GO-2026-6207 | |
| Go library | github.com/traefik/traefik/v2 | Fix pending | GO-2026-6207 | |
| Go library | github.com/traefik/traefik/v3 | Fixed | 3.7.8 | GHSA-8rxv-jg7p-wvg3 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- traefik: affected: 3.7.0 to before 3.7.8, 3.7.8 not affected; fixed in
3.7.8
Vendor advisories:
- https://github.com/traefik/traefik/security/advisories/GHSA-8rxv-jg7p-wvg3 (vendor-advisory)
- https://github.com/traefik/traefik/commit/b93f02cd07b79490fb8c8f02e301a7a1ec553195 (patch)
- https://github.com/traefik/traefik/commit/69259c3acc9d4bdc065cb2e3b83336f7de3e7038 (patch)
References
- https://github.com/traefik/traefik/security/advisories/GHSA-8rxv-jg7p-wvg3
- https://github.com/traefik/traefik/commit/b93f02cd07b79490fb8c8f02e301a7a1ec553195
- https://github.com/traefik/traefik/commit/69259c3acc9d4bdc065cb2e3b83336f7de3e7038
- https://www.vulncheck.com/advisories/traefik-path-traversal-via-rewritetarget-authentication-bypass
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.