—
GO-2026-6202
Traefik: ForwardAuth middleware leaks X-Forwarded-Port spoofing via untrusted X-Forwarded-Proto when trustForwardHeader=false in github.com/traefik/traefik
Quick fix
GO-2026-6202 — github.com/traefik/traefik/v2: upgrade to the fixed version with the command below.
go get github.com/traefik/traefik/v2@v2.11.51Details
Traefik: ForwardAuth middleware leaks X-Forwarded-Port spoofing via untrusted X-Forwarded-Proto when trustForwardHeader=false in github.com/traefik/traefik
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/traefik/traefik
Introduced in:
0No fixed version published yet for github.com/traefik/traefik (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/traefik/traefik/v2
Introduced in:
0Fixed in: 2.11.51Fix
go get github.com/traefik/traefik/v2@v2.11.51Go/github.com/traefik/traefik/v3
Introduced in:
0Fixed in: 3.6.22Fix
go get github.com/traefik/traefik/v3@v3.6.22References
- https://github.com/traefik/traefik/security/advisories/GHSA-3q9r-p662-5j8m[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2026-54764[ADVISORY]
- https://github.com/traefik/traefik/commit/7ae92d8c2c10ac04ef5a03df0ed5019ce0f44b2d[FIX]
- https://github.com/traefik/traefik/pull/13344[FIX]
- https://github.com/traefik/traefik/releases/tag/v2.11.51[WEB]
- https://github.com/traefik/traefik/releases/tag/v3.6.22[WEB]
- https://github.com/traefik/traefik/releases/tag/v3.7.6[WEB]