Auth bypass in Traefik

CVE-2026-39858

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.

EPSS: 0.005 (39.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N.

Affected products

  • Traefik — versions 3.7.0, >= 3.0.0-beta1, < 3.6.14, < 2.11.43

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-39858?
CVE-2026-39858 is a critical-severity vulnerability in Traefik, classified under Authentication Bypass by Spoofing. CVSS score: 10.0/10. Published 2026-04-30.
How severe is CVE-2026-39858?
Critical severity. CVSS v3 base score is 10.0 out of 10.