CVE-2026-39858
Traefik: Forwarded alias spoofing top pre-auth decision bypass
- State
- Published
- Severity
- 7.8 High
- Published
- Apr 30, 2026
- Updated
- Jul 15, 2026
- Reserved
- Apr 7, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.8 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 | GitHub_M |
| 3.1 | 8.2 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
traefiktraefik |
|
References
- https://github.com/traefik/traefik/security/advisories/GHSA-5m6w-wvh7-57vm
- https://github.com/traefik/traefik/releases/tag/v2.11.43
- https://github.com/traefik/traefik/releases/tag/v3.6.14
- https://github.com/traefik/traefik/releases/tag/v3.7.0-rc.2
- https://access.redhat.com/security/cve/CVE-2026-39858vdb-entry
- RHBZ#2464234issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39858.json
- https://access.redhat.com/errata/RHSA-2026:21772vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.