CVE-2026-54764
MEDIUM 6.9CVSS 4.0Traefik: ForwardAuth middleware leaks X-Forwarded-Port spoofing via untrusted X-Forwarded-Proto when trustForwardHeader=false
Traefik is an HTTP reverse proxy and load balancer. Prior to v2.11.51, v3.6.22, and v3.7.6, Traefik's ForwardAuth middleware, even when configured with trustForwardHeader: false, derives the X-Forwarded-Port header sent to the authentication service from the original incoming request instead of the sanitized forwarded request. As a result, an unauthenticated remote attacker can inject an X-Forwarded-Proto: https header over a plain HTTP connection and cause Traefik to forward X-Forwarded-Port: 443 to the authentication service, bypassing port-based authorization checks. This issue is fixed in versions v2.11.51, v3.6.22, and v3.7.6.
- Published
- 6 Jul 2026
- Last modified
- 18 Aug 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-345
- Also known as
- GHSA-3q9r-p662-5j8mGO-2026-6202
- Sources
- NVDJSONOSV GHSA-3q9r-p662-5j8mJSONOSV GO-2026-6202JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | traefik | traefikcpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:* |
< 2.11.51 | 2.11.51 |
| NVD | traefik | traefikcpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.6.22 | 3.6.22 |
| NVD | traefik | traefikcpe:2.3:a:traefik:traefik:*:*:*:*:*:*:*:* |
>= 3.7.0, < 3.7.6 | 3.7.6 |
| OSV | Go | github.com/traefik/traefik/v2 | < 2.11.51 | 2.11.51 |
| OSV | Go | github.com/traefik/traefik/v3 | < 3.6.22 | 3.6.22 |
| OSV | Go | github.com/traefik/traefik/v3 | >= 3.7.0, < 3.7.6 | 3.7.6 |
| OSV | Go | github.com/traefik/traefik | <= 1.7.34 | |
| OSV | Go | github.com/traefik/traefik | all versions | |
| OSV | Go | github.com/traefik/traefik/v3 | < 3.6.22; >= 3.7.0, < 3.7.6 | 3.6.22, 3.7.6 |
References
- https://github.com/traefik/traefik/commit/7ae92d8c2c10ac04ef5a03df0ed5019ce0f44b2d · Patch, WEB, FIX
- https://github.com/traefik/traefik/pull/13344 · Issue Tracking, WEB, FIX
- https://github.com/traefik/traefik/security/advisories/GHSA-3q9r-p662-5j8m · Patch, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-54764 · ADVISORY
- https://github.com/traefik/traefik · PACKAGE
- 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
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 6 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Aug 2026)