Go Vulnerability Database
GO-2026-5532
Authorization and Cookie headers forwarded to error page service in github.com/traefik/traefik
Details
Traefik's errors middleware by default forwards all original request headers to the error page service. If the error page service is in a separate trust domain, this can lead to the disclosure of sensitive information such as Authorization or Cookie headers.
The fix adds an errorRequestHeaders option to the Errors middleware, allowing users to explicitly list which headers should be forwarded.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/traefik/traefik | All versions, no fix listed |
| Go | github.com/traefik/traefik/v2 | All versions before 2.11.44 (fixed in 2.11.44) |
| Go | github.com/traefik/traefik/v3 | All versions before 3.6.15 (fixed in 3.6.15) From 3.7.0-rc.1 before 3.7.0-rc.3 (fixed in 3.7.0-rc.3) |