CVE-2020-15129 Open redirect in Traefik
Traefik's API dashboard allows open redirects via the X-Forwarded-Prefix header, potentially exposing users to phishing or cache poisoning attacks.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-15129?
CVE-2020-15129 is a medium-severity vulnerability in Traefik Traefik, published on 30 Jul 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
In Traefik before versions 1.7.26, 2.2.8, and 2.3.0-rc3, there exists a potential open redirect vulnerability in Traefik's handling of the "X-Forwarded-Prefix" header. The Traefik API dashboard component doesn't validate that the value of the header "X-Forwarded-Prefix" is a site relative path and will redirect to any header provided URI. Successful exploitation of an open redirect can be used to entice victims to disclose sensitive information. Active Exploitation of this issue is unlikely as it would require active header injection, however the Traefik team addressed this issue nonetheless to prevent abuse in e.g. cache poisoning scenarios.
Weakness: CWE-601
Which versions are affected by CVE-2020-15129?
24 open source packages ship an affected version, including github.com/containous/traefik/v2, github.com/containous/traefik and github.com/containous/traefik/api. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/containous/traefik/v2 Go | All versions | 2.2.8 |
github.com/containous/traefik/v2 Go | All versions | 2.2.8 |
github.com/containous/traefik/v2 Go | From 2.3.0-rc1 | 2.3.0-rc3 |
github.com/containous/traefik/v2 Go | From 2.3.0-rc1 | 2.3.0-rc3 |
github.com/containous/traefik Go | From 1.5.0-rc5 | 1.7.26 |
github.com/containous/traefik Go | From 1.5.0-rc5 | 1.7.26 |
18 more packages
github.com/containous/traefik/api Go | From 1.5.0-rc5 | 1.7.26 |
github.com/containous/traefik/api Go | From 1.5.0-rc5 | 1.7.26 |
github.com/containous/traefik/v2/pkg/api Go | All versions | 2.2.8 |
github.com/containous/traefik/v2/pkg/api Go | All versions | 2.2.8 |
github.com/containous/traefik/v2/pkg/api Go | From 2.3.0-rc1 | 2.3.0-rc3 |
github.com/containous/traefik/v2/pkg/api Go | From 2.3.0-rc1 | 2.3.0-rc3 |
github.com/traefik/traefik Go | From 1.5.0-rc5 | 1.7.26 |
github.com/traefik/traefik Go | From 1.5.0-rc5 | 1.7.26 |
github.com/traefik/traefik/api Go | From 1.5.0-rc5 | 1.7.26 |
github.com/traefik/traefik/api Go | From 1.5.0-rc5 | 1.7.26 |
github.com/traefik/traefik/v2 Go | All versions | 2.3.0-rc6 |
github.com/traefik/traefik/v2 Go | All versions | 2.3.0-rc6 |
github.com/traefik/traefik/v2 Go | From 2.3.0-rc1 | 2.3.0-rc6 |
github.com/traefik/traefik/v2 Go | From 2.3.0-rc1 | 2.3.0-rc6 |
github.com/traefik/traefik/v2/pkg/api Go | All versions | 2.3.0-rc6 |
github.com/traefik/traefik/v2/pkg/api Go | All versions | 2.3.0-rc6 |
github.com/traefik/traefik/v2/pkg/api Go | From 2.3.0-rc1 | 2.3.0-rc6 |
github.com/traefik/traefik/v2/pkg/api Go | From 2.3.0-rc1 | 2.3.0-rc6 |
Products include Traefik Traefik.
How do I fix CVE-2020-15129?
Upgrade github.com/containous/traefik/v2 to a fixed version for your release line: 2.2.8 or 2.3.0-rc3.
Is CVE-2020-15129 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-15129 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Traefik Traefik
- CVE-2024-45410 HTTP client can remove the X-Forwarded headers in Traefik
- CVE-2026-88877 Traefik v3.7.0 Authentication Bypass via from-to-www-redirect
- CVE-2026-85595 Traefik before v2.11.55 and v3.0.0 through v3.7.10 Authentication Bypass via digestAuth
- CVE-2026-88007 Traefik HTTP/3 Backend NTLM Connection Reuse
- CVE-2026-88009 Traefik: Rootless HTTP/1 request-target routes as "/" but is forwarded verbatim, bypassing path-scoped routing, middleware guards and access logging
Sources
Also known as GHSA-6qq8-5wq3-86rp.