Insufficient verification of data authenticity in Traefik - CVE-2026-35051
Published: May 5, 2026
Traefik
Containous
Description
The vulnerability allows a remote attacker to bypass authentication and gain unauthorized access to protected backend routes.
The vulnerability exists due to insufficient verification of data authenticity in the ForwardAuth middleware when processing authentication subrequests behind a trusted upstream proxy with trustForwardHeader=false. A remote attacker can supply a spoofed X-Forwarded-Prefix header to bypass authentication and gain unauthorized access to protected backend routes.
Exploitation is security-relevant when the authentication service relies on X-Forwarded-Prefix for authorization or routing decisions, especially when StripPrefix runs before ForwardAuth.