Traefik
Traefik Vulnerable to BasicAuth/DigestAuth Identity Spoofing via Non-Canonical headerField
Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.42, 3.6.11, and 3.7.0-ea.3, when `headerField` is configured with a non-canonical HTTP header name (e.g., `x-auth-user` instead of `X-Auth-User`), an authenticated attacker can inject their own canonical version of that header to impersonate any identity to the backend. The backend receives two header entries — the attacker-injected canonical one is read first, overriding Traefik's non-canonical write. Versions 2.11.42, 3.6.11, and 3.7.0-ea.3 patch the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.11.42
- >= 3.0.0-beta1, < 3.6.11
- >= 3.7.0-ea.1, < 3.7.0-ea.3
Fixed in 2.11.42, 3.6.11, 3.7.0-ea.3
Mitigation
Upgrade traefik to 2.11.42 or 3.6.11 or 3.7.0-ea.3 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.0…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.