CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-39858

Critical · CVSS 10.0

Traefik — Authentication bypass via HTTP header underscore/dash alias normalization in ForwardAuth middleware

CVSS
10.0
nvd
EPSS
KEV
No
Class
other
CWE-290, CWE-306, CWE-289

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.

Search profile — drives PoC discovery

Symbols ForwardAuthX_Forwarded_ProtoX-Forwarded-ProtoX_Forwarded_HostX-Forwarded-Hostforwarded-header sanitizationsnippet-based authentication middlewareGHSA-5m6w-wvh7-57vmforwardauthunderscore headerdash header
Keywords CVE-2026-39858Traefik authentication bypassTraefik ForwardAuth bypassTraefik underscore header bypassTraefik X_Forwarded_ProtoTraefik header sanitizationGHSA-5m6w-wvh7-57vmTraefik CWE-290Traefik forwarded header spoofTraefik middleware bypass PoC
Versions: < 2.11.43, < 3.6.14, < 3.7.0-rc.2

References

Status: enriched · ingested 2026-06-30T06:00:22.000Z · profiled 2026-07-01T06:30:14.000Z