CVE-2026-39858
traefik: Traefik: Authentication bypass via unsanitized alias headers
Overview
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.
Source: OX vulnerability database
Severity
10 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Weakness: CWE-290, CWE-306, CWE-289
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | github.com/traefik/traefik | <=1.7.34 | No fix yet |
| Go | github.com/traefik/traefik/v2 | <2.11.43 | 2.11.43 |
| Go | github.com/traefik/traefik/v3 | >=3.7.0-ea.1, <3.7.0-rc.2>=3.0.0-beta1, <3.6.14 | 3.7.0-rc.23.6.14 |
Open a package to see all its vulnerabilities.
Operating systems · 3 fixes
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| traefik-3 +1 | 3.6.14-r0 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | traefik2 | 2.11.44-1.1 | openSUSE-SU-2026:10698-1 |
| Tumbleweed | traefik | 3.6.15-1.1 | openSUSE-SU-2026:10697-1 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:21772
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-39858
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2464234
- github.com https://github.com/traefik/traefik
- github.com https://github.com/traefik/traefik/releases/tag/v2.11.43
- github.com https://github.com/traefik/traefik/releases/tag/v3.6.14
- github.com https://github.com/traefik/traefik/releases/tag/v3.7.0-rc.2
- github.com https://github.com/traefik/traefik/security/advisories/GHSA-5m6w-wvh7-57vm
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-39858
- security.access.redhat.com https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39858.json
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.