CVE-2026-41181: Traefik's errors middleware forwards Authorization and Cookie headers to separate error page service
There is a medium severity information disclosure vulnerability in Traefik’s errors (custom error pages) middleware. When the backend returns a response matching the configured status range, the middleware forwards the original request’s complete header set, including Authorization, Cookie, and other authentication material, to the separate error page service rather than only the minimal context needed to render the error page. This behavior is undocumented: the documentation states only that Host is forwarded by default, so operators are not warned that sensitive credentials are shared across service boundaries. Deployments using the errors middleware with a distinct error page service may inadvertently expose end-user credentials to infrastructure that was not intended to receive them.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-41181 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →