Go Vulnerability Database
GO-2026-5152
Traefik: SNICheck ignores wildcard TLSOptions mappings in github.com/traefik/traefik
Details
The SNICheck middleware in Traefik ignores wildcard TLSOptions mappings, allowing an unauthenticated attacker to bypass mTLS requirements by using a domain-fronted request. This occurs because the middleware compares the TLS options name used during the handshake with a pre-computed value that may not account for wildcard matches correctly when certain configuration models are applied.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/traefik/traefik/v2 | All versions before 2.11.48 (fixed in 2.11.48) |
| Go | github.com/traefik/traefik/v3 | From 3.7.0 before 3.7.3 (fixed in 3.7.3) |