Skip to content

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

HighCVSS 7.8 EPSS 0.77%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Red HatNetwork Appliances

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.

Upgrade path

4 packages: 2 fixed, 1 partially fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/devspaces/traefik-rhel9:1779786779(Red Hat openshift_devspaces 3.28 el9) All versions No fix listed No fix yet
traefik(Go) < 2.11.43; < 3.6.14; <= 1.7.34; >= 3.0.0-beta1, < 3.6.14 +2 more 2.11.43, 3.6.14, 3.7.0-rc.2 Partially fixed
redhat openshift devspaces < 1779786779 1779786779 Fixed
traefik < 2.11.43; = 3.7.0-ea1; = 3.7.0-ea2; = 3.7.0-ea3 +5 more 2.11.43, 3.6.14 Fixed

Affected products

ProductAffected versionsFixed in
traefik(Go) >= 3.7.0-ea.1, < 3.7.0-rc.2 3.7.0-rc.2
traefik(Go) >= 3.0.0-beta1, < 3.6.14 3.6.14
traefik(Go) < 2.11.43 2.11.43
traefik(Go) <= 1.7.34 No fix listed
traefik = < 2.11.43 No fix listed
traefik = >= 3.0.0-beta1, < 3.6.14 No fix listed
traefik = >= 3.7.0-ea.1, < 3.7.0-rc.2 No fix listed
redhat openshift devspaces < 1779786779 1779786779
redhat/devspaces/traefik-rhel9:1779786779(Red Hat:openshift_devspaces:3.28::el9) All versions No fix listed
traefik < 2.11.43 2.11.43
traefik >= 3.0.0, < 3.6.14 3.6.14
traefik = 3.7.0-ea1 No fix listed
traefik = 3.7.0-ea2 No fix listed
traefik = 3.7.0-ea3 No fix listed
traefik = 3.7.0-rc1 No fix listed
traefik(Go) All versions No fix listed
traefik(Go) < 3.6.14 3.6.14

References