Traefik: Errors middleware forwards Authorization and Cookie headers to separate error page service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-201.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| traefik | traefik | 3.7.0-rc.0 to before 3.7.0-rc.3; 3.0.0-beta1 to before 3.6.14; before 2.11.43 | 3.7.0-rc.3, 3.6.14, 2.11.43 | Patch available | CNA |
| — | github.com/traefik/traefik/v2 (Go) | before 2.11.44 | 2.11.44 | Patch available | GHSA-p6hg-qh38-555r |
| — | github.com/traefik/traefik/v3 (Go) | before 3.6.15 | 3.6.15 | Patch available | GHSA-p6hg-qh38-555r |
| — | github.com/traefik/traefik/v3 (Go) | 3.7.0-rc.0 to before 3.7.0-rc.3 | 3.7.0-rc.3 | Patch available | GHSA-p6hg-qh38-555r |
- traefik Vendortraefik Affected 3.7.0-rc.0 to before 3.7.0-rc.3; 3.0.0-beta1 to before 3.6.14; before 2.11.43 Fixed in 3.7.0-rc.3, 3.6.14, 2.11.43 Patch available CNA
- github.com/traefik/traefik/v2 (Go) Vendor— Affected before 2.11.44 Fixed in 2.11.44 Patch available GHSA-p6hg-qh38-555r
- github.com/traefik/traefik/v3 (Go) Vendor— Affected before 3.6.15 Fixed in 3.6.15 Patch available GHSA-p6hg-qh38-555r
- github.com/traefik/traefik/v3 (Go) Vendor— Affected 3.7.0-rc.0 to before 3.7.0-rc.3 Fixed in 3.7.0-rc.3 Patch available GHSA-p6hg-qh38-555r
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:* | before 2.11.44; 3.0.0 to before 3.6.15 | Vulnerable | traefik |
| cpe:2.3:a:traefik:traefik:3.7.0:ea1:*:*:*:*:*:* | 3.7.0 ea1 | Vulnerable | traefik |
| cpe:2.3:a:traefik:traefik:3.7.0:ea2:*:*:*:*:*:* | 3.7.0 ea2 | Vulnerable | traefik |
| cpe:2.3:a:traefik:traefik:3.7.0:ea3:*:*:*:*:*:* | 3.7.0 ea3 | Vulnerable | traefik |
| cpe:2.3:a:traefik:traefik:3.7.0:rc1:*:*:*:*:*:* | 3.7.0 rc1 | Vulnerable | traefik |
| cpe:2.3:a:traefik:traefik:3.7.0:rc2:*:*:*:*:*:* | 3.7.0 rc2 | Vulnerable | traefik |
- cpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:* Versions before 2.11.44; 3.0.0 to before 3.6.15 Vulnerable ·traefik
- cpe:2.3:a:traefik:traefik:3.7.0:ea1:*:*:*:*:*:* Versions 3.7.0 ea1 Vulnerable ·traefik
- cpe:2.3:a:traefik:traefik:3.7.0:ea2:*:*:*:*:*:* Versions 3.7.0 ea2 Vulnerable ·traefik
- cpe:2.3:a:traefik:traefik:3.7.0:ea3:*:*:*:*:*:* Versions 3.7.0 ea3 Vulnerable ·traefik
- cpe:2.3:a:traefik:traefik:3.7.0:rc1:*:*:*:*:*:* Versions 3.7.0 rc1 Vulnerable ·traefik
- cpe:2.3:a:traefik:traefik:3.7.0:rc2:*:*:*:*:*:* Versions 3.7.0 rc2 Vulnerable ·traefik
Remediation
- Fix · CNA traefik (traefik) Fixed in 3.7.0-rc.3, 3.6.14, 2.11.43
- Fix · GHSA-p6hg-qh38-555r github.com/traefik/traefik/v2 (Go) Fixed in 2.11.44 Advisory →
- Fix · GHSA-p6hg-qh38-555r github.com/traefik/traefik/v3 (Go) Fixed in 3.6.15 Advisory →
- Fix · GHSA-p6hg-qh38-555r github.com/traefik/traefik/v3 (Go) Fixed in 3.7.0-rc.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Dev Spaces | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41181
- 2026-10-03 Alias added: GHSA-p6hg-qh38-555r
References
More Traefik vulnerabilities
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2023-25774 Uncontrolled Resource Consumption in Traefik CVSS 3.1HIGH 7.5
- TI-2025-40914 Traefik doesn't Prevent Path Normalization Bypass in Router + Middleware Rules CVSS 4.0MEDIUM 6.9
- TI-2022-07529 Authorization header displayed in the debug logs CVSS 3.1MEDIUM 6.5
- TI-2024-30459 HTTP client can remove the X-Forwarded headers in Traefik CVSS 3.1CRITICAL 9.8
- TI-2026-60261 Traefik v3.7.0 Authentication Bypass via from-to-www-redirect CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-41181 · CVE Program
- CVE-2026-41181 · NVD
- FIRST EPSS
- GHSA-p6hg-qh38-555r · GitHub Advisory Database · CC BY 4.0
- CVE-2026-41181 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences