CVE-2026-54764
MEDIUMForwardAuth middleware leaks X-Forwarded-Port spoofing via untrusted X-Forwarded-Proto when trustForwardHeader=false
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/traefik/traefik/commit/7ae92d8c2c10ac04ef5a03df0ed5019ce0f44b2d
X_Refsource_Confirm x_refsource_confirm
https://github.com/traefik/traefik/security/advisories/GHSA-3q9r-p662-5j8m
X_Refsource_Misc x_refsource_misc
https://github.com/traefik/traefik/pull/13344
Scores
CVSS v3
5.8
EPSS
0.0023
EPSS Percentile
14.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-345
Status
published
Products (3)
traefik/traefik
< 2.11.51 (2 CPE variants)
traefik/traefik
>= 3.0.0, < 3.6.22
traefik/traefik
>= 3.7.0, < 3.7.6
Published
Jul 06, 2026
Tracked Since
Jul 07, 2026