Traefik
Traefik StripPrefix Route-Level Auth Bypass via Path Normalization
Traefik is an HTTP reverse proxy and load balancer. Prior to 2.11.48, 3.6.19, and 3.7.3, there is a high severity vulnerability in Traefik's StripPrefix middleware that allows an unauthenticated attacker to bypass route-level authentication and authorization. When a public router matches on a PathPrefix rule and applies the StripPrefix middleware, a request path containing .. or its percent-encoded form %2e%2e can match the public route at routing time and then, after the prefix is stripped and the path is normalized, resolve to a path served by a separate, authenticated router. As a result, an attacker can reach protected backend paths — such as admin or internal configuration endpoints — without satisfying the authentication middleware attached to the protected router. This vulnerability is fixed in 2.11.48, 3.6.19, and 3.7.3.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.7.0-ea.1, < 3.7.3
- >= 3.0.0-beta1, < 3.6.19
- < 2.11.48
Fixed in 3.7.3, 3.6.19, 2.11.48
Mitigation
Upgrade traefik to 3.7.3 or 3.6.19 or 2.11.48 or later.
References
- Vendor advisory github.com/traefik/traefik/security/advisories…
- Release notes github.com/traefik/traefik/releases/tag/v2.11.…
- Release notes github.com/traefik/traefik/releases/tag/v3.6.1…
1 more
- Release notes github.com/traefik/traefik/releases/tag/v3.7.3
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.