CVE-2026-41181

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

State
Published
Severity
6.9 Medium
Published
May 15, 2026
Updated
May 16, 2026
Reserved
Apr 17, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-201 Insertion of Sensitive Information Into Sent Data

Affected Products

ProductVersions
traefiktraefik
  • >= 3.7.0-rc.0, < 3.7.0-rc.3Affected
  • >= 3.0.0-beta1, < 3.6.14Affected
  • < 2.11.43Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.