Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-41181 EUVD-2026-30557GHSA-p6hg-qh38-555rGO-2026-5532

Traefik: Errors middleware forwards Authorization and Cookie headers to separate error page service

Published May 15, 2026 · Updated May 16, 2026 · Assigned by GitHub_M

Description

Traefik is an HTTP reverse proxy and load balancer. Prior to 2.11.44, 3.6.15, and 3.7.0-rc.3, there is an 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. This vulnerability is fixed in 2.11.44, 3.6.15, and 3.7.0-rc.3.

Affected products

VendorProductAffectedFixed
traefik traefik >= 3.7.0-rc.0, < 3.7.0-rc.3, >= 3.0.0-beta1, < 3.6.14, < 2.11.43 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
SLES 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed traefik 3.6.16-1.1 openSUSE-SU-2026:10713-1
openSUSE Tumbleweed traefik2 2.11.45-1.1 openSUSE-SU-2026:10714-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 openSUSE-SU-2026:21761-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/traefik/traefik all versions — GO-2026-5532
Go github.com/traefik/traefik/v2 < 2.11.44 2.11.44 GHSA-p6hg-qh38-555r
Go github.com/traefik/traefik/v3 < 3.6.15 3.6.15 GHSA-p6hg-qh38-555r
Go github.com/traefik/traefik/v3 >= 3.7.0-rc.0, < 3.7.0-rc.3 3.7.0-rc.3 GHSA-p6hg-qh38-555r
Go github.com/traefik/traefik/v3 < 3.6.15 · >= 3.7.0-rc.1, < 3.7.0-rc.3 3.6.15, 3.7.0-rc.3 GO-2026-5532

Advisories 4

References