CVE-2026-88004 is a trailer sanitization bypass in Traefik versions prior to 3.1.13 and 3.2.0. The vulnerability allows attackers to bypass aliasHeadersStrategy and forwardedHeaders protections by smuggling malicious values through HTTP trailers instead of headers. If you're running Traefik as a reverse proxy, you need to patch immediately — trailers are a legitimate HTTP feature that most teams don't monitor, and this bypass specifically targets the defenses designed to prevent identity spoofing (X-Forwarded-For, X-Real-IP injection) and header-based routing attacks.

The root cause is a structural trap in Go's net/http package. In Go, trailers exist as a separate field (req.Trailer) from headers (req.Header), even though semantically they're equivalent in HTTP. Traefik's sanitization code correctly iterates req.Header — but it never touches req.Trailer. This isn't negligent coding so much as an architectural blind spot: developers reasoning about "headers" in the security context naturally think about the single Header field, and the separate Trailer field quietly falls outside that mental model. The Go documentation describes trailers explicitly, but the API's structural separation creates a cognitive partition that makes it easy to implement header defenses without ever considering trailer surfaces.

Compounding this: Traefik's buffering and retry middlewares read the request body before the proxy sanitization runs, loading trailer contents into the request object at a point where no sanitization has been applied yet. This creates a specific timing window where attackers can inject values that reach downstream backends untouched.

Check your Traefik deployments for version 3.1.12 or earlier if you're on the 3.x branch, or any unpatched 2.x version with these middlewares enabled. After patching, verify that both req.Header and req.Trailer are being evaluated by your security policies. The broader lesson here is that Go's req.Header/req.Trailer boundary is a persistent ergonomics hazard — future vulnerabilities in other Go-based HTTP processing tools are likely unless trailer handling becomes an explicit design consideration rather than an implicit oversight.