MEDIUMCVSS 5.8Vulnerability

CVE-2026-41181

## Summary 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. ## Patches - https://github.com/traefik/traefik/releases/tag/v2.11.44 - https://github.com/traefik/traefik/releases/tag/v3.6.15 - https://github.com/traefik/traefik/releases/tag/v3.7.0-rc.3 ## For more information If there are any questions or comments about this advisory, please [open an issue](https://github.com/traefik/traefik/issues). <details> <summary>Original Description</summary> ## Description Traefik v3.6.13's supported HTTP `errors` middleware discloses sensitive request headers to the configured error page service when the original backend response matches the configured status range and the middleware takes its default header-forwarding path. In the reproduced configuration, the business router `audit-customerrors@docker` pointed to backend service `audit-backend`, attached middleware `audit-leak@docker`, and the middleware was configured with `errors.status=500-599`, `errors.service=audit-error`, and `errors.query=/collect`. A request to the business route caused the backend to return `500`, after which Traefik created a secondary request to the error service and copied the original `Authorization` and `Cookie` headers into that cross-servic

Properties

severity
MEDIUM
summary
Traefik's errors middleware forwards Authorization and Cookie headers to separate error page service
cvss_score
5.8
epss_score
0.00445
ghsa_published
2026-05-04T19:26:33Z
source_url
https://github.com/advisories/GHSA-p6hg-qh38-555r
ghsa_updated
2026-05-04T19:26:34Z
ghsa_id
GHSA-p6hg-qh38-555r
cve_id
CVE-2026-41181
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
is_ghsa_only
false
epss_percentile
0.36648

Related Entities (7)

ENRICHED_BY (1)

[Source]FIRST EPSS

HAS_WEAKNESS (1)

[Weakness]Insertion of Sensitive Information Into Sent Data

REPORTED_BY (1)

[Source]GitHub Advisory Database

AFFECTS (2)

[Software]go/github.com/traefik/traefik/v3
[Software]go/github.com/traefik/traefik/v2

VULNERABLE_TO (2)

[Software]go/github.com/traefik/traefik/v3
[Software]go/github.com/traefik/traefik/v2

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-41181 (CVSS 5.8) — Ninja Signal Threat Intelligence | Ninja Signal