CVE 7.8 HIGH

Traefik: Forwarded alias spoofing top pre-auth decision bypass_CVE-2026-39858

7.8 / 10
HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N

Description

Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is a high severity authentication bypass vulnerability in Traefik's ForwardAuth and snippet-based authentication middleware. Traefik's forwarded-header sanitization logic targets only canonical header names (e.g., X-Forwarded-Proto) and does not strip or normalize alias variants that use underscores instead of dashes (e.g., X_Forwarded_Proto). These unsanitized alias headers are forwarded intact to the authentication backend. When the backend normalizes underscore and dash header forms equivalently, an attacker can inject spoofed trust context — such as a trusted scheme or host — through the alias headers and bypass authentication on protected routes without valid credentials. This issue has been patched in versions 2.11.43, 3.6.14, and 3.7.0-rc.2.

Basic Information

ID CVE-2026-39858
Source GitHub_M
Published Apr 30, 2026 at 20:26

Affected Product

Vendor traefik
Product traefik
Version < 2.11.43
Affected Versions traefik traefik < 2.11.43
traefik traefik >= 3.0.0-beta1, < 3.6.14
traefik traefik >= 3.7.0-ea.1, < 3.7.0-rc.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.