Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/traefik/traefik/v2
  4. ›
  5. CVE-2026-41181

CVE-2026-41181: Traefik's errors middleware forwards Authorization and Cookie headers to separate error page service

May 4, 2026

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

  • github.com/advisories/GHSA-p6hg-qh38-555r
  • github.com/traefik/traefik/releases/tag/v2.11.44
  • github.com/traefik/traefik/releases/tag/v3.6.15
  • github.com/traefik/traefik/releases/tag/v3.7.0-rc.3
  • github.com/traefik/traefik/security/advisories/GHSA-p6hg-qh38-555r
  • nvd.nist.gov/vuln/detail/CVE-2026-41181

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 →

Affected versions

All versions before 2.11.44

Fixed versions

  • 2.11.44

Solution

Upgrade to version 2.11.44 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-201: Insertion of Sensitive Information Into Sent Data

Source file

go/github.com/traefik/traefik/v2/CVE-2026-41181.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 18 May 2026 00:18:35 +0000.