CVE-2026-39858
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.
Weakness
- CWE-290: Authentication Bypass by Spoofing
- CWE-306: Missing Authentication for Critical Functionality
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-05-04 |
Timeline
- 2026-04-24GitHub advisory published (GHSA-5m6w-wvh7-57vm)6 days before publication
- 2026-04-30Published by the CNA20:26 UTC
- 2026-05-04CISA SSVC decision recorded4 days after publication
Exploit and advisory records
GitHub advisory GHSA-5m6w-wvh7-57vm, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/traefik/traefik | through 1.7.34 | |
| Go github.com/traefik/traefik/v2 | before 2.11.43 | 2.11.43 |
| Go github.com/traefik/traefik/v3 | from 3.0.0-beta1 before 3.6.14 | 3.6.14 |
| Go github.com/traefik/traefik/v3 | from 3.7.0-ea.1 before 3.7.0-rc.2 | 3.7.0-rc.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| traefik traefik | before 2.11.43fixed in 2.11.43from 3.0.0 before 3.6.14fixed in 3.6.143.7.0no fix listed | 2.11.433.6.14not listed |
References
- https://github.com/traefik/traefik/security/advisories/GHSA-5m6w-wvh7-57vm
- https://access.redhat.com/errata/RHSA-2026:21772
- https://access.redhat.com/security/cve/CVE-2026-39858
- https://bugzilla.redhat.com/show_bug.cgi?id=2464234
- 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://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39858.json
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-39858'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-39858'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-39858'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-39858'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).