VDB
KO

GO-2026-5287

Traefik: HTTP/3 mTLS bypass via exact SNI TLSOptions lookup for wildcard and mixed-case hosts in github.com/traefik/traefik

Quick fix

GO-2026-5287 — github.com/traefik/traefik/v2: upgrade to the fixed version with the command below.

go get github.com/traefik/traefik/v2@v2.11.51

Details

Traefik's HTTP/3 TLS configuration selection is vulnerable to a bypass when using wildcard or mixed-case hosts in the SNI.

The HTTP/3 (QUIC) path performed a direct, case-sensitive lookup on the SNI value to select the applicable TLS configuration. This lookup failed to match wildcard host patterns (e.g., "*.example.com") or case variants of configured hostnames. In these cases, Traefik would fall back to the default TLS configuration, which might not enforce mutual TLS (mTLS), allowing unauthenticated clients to access protected backends.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/traefik/traefik
Introduced in: 0

No fixed version published yet for github.com/traefik/traefik (go modules). Pin to a known-safe version or switch to an alternative.

Go / github.com/traefik/traefik/v2
Introduced in: 0 Fixed in: 2.11.51
Fix go get github.com/traefik/traefik/v2@v2.11.51
Go / github.com/traefik/traefik/v3
Introduced in: 0 Fixed in: 3.7.3
Fix go get github.com/traefik/traefik/v3@v3.7.3

References