CVE-2020-15129
Open redirect in Traefik
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.1
Open redirect in Traefik
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.
- Record
CVE-2020-15129- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
EUVDEUVD-2022-0869
6.1
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.
- Record
EUVD-2022-0869- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6qq8-5wq3-86rp
6.1
Traefik vulnerable to Open Redirect via handling of X-Forwarded-Prefix header
Summary
There exists a potential open redirect vulnerability in Traefik's handling of the X-Forwarded-Prefix header. 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.
Details
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.
e.g.
$ curl --header 'Host:traefik.localhost' --header 'X-Forwarded-Prefix:https://example.org' 'http://localhost:8081'
<a href="https://example.org/dashboard/">Found</a>.`
Impact
A successful exploitation of an open redirect can be used to entice victims to disclose sensitive information.
Workarounds
By using the headers middleware, the request header X-Forwarded-Prefix value can be overridden by the value . (dot)
- https://docs.traefik.io/v2.2/middlewares/headers/#customrequestheaders
- https://docs.traefik.io/v1.7/basics/#custom-headers
For more information
If you have any questions or comments about this advisory, open an issue in Traefik.
Credit
This issue was found by the GitHub Application Security Team and reported on behalf of the GHAS by the GitHub Security Lab Team.
- Record
GHSA-6qq8-5wq3-86rp- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
NVD
6.1
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.
- Record
CVE-2020-15129- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N - CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 4.0 Medium
AV:N/AC:H/Au:N/C:P/I:P/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-15129
4.7
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.
- Record
ALPINE-CVE-2020-15129- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-03
OSV
4.7
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.
- Record
CVE-2020-15129- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-6qq8-5wq3-86rp
6.1
Traefik vulnerable to Open Redirect via handling of X-Forwarded-Prefix header
Summary
There exists a potential open redirect vulnerability in Traefik's handling of the X-Forwarded-Prefix header. 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.
Details
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.
e.g.
$ curl --header 'Host:traefik.localhost' --header 'X-Forwarded-Prefix:https://example.org' 'http://localhost:8081'
<a href="https://example.org/dashboard/">Found</a>.`
Impact
A successful exploitation of an open redirect can be used to entice victims to disclose sensitive information.
Workarounds
By using the headers middleware, the request header X-Forwarded-Prefix value can be overridden by the value . (dot)
- https://docs.traefik.io/v2.2/middlewares/headers/#customrequestheaders
- https://docs.traefik.io/v1.7/basics/#custom-headers
For more information
If you have any questions or comments about this advisory, open an issue in Traefik.
Credit
This issue was found by the GitHub Application Security Team and reported on behalf of the GHAS by the GitHub Security Lab Team.
- Record
GHSA-6qq8-5wq3-86rp- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N - Weakness
- CWE-601
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/traefik/traefikGo |
1.5.0-rc5 up to 1.7.26 | 1.7.26 |
github.com/traefik/traefik/v2Go |
before 2.2.8 | 2.2.8 |
github.com/containous/traefikGo |
1.5.0-rc5 up to 1.7.26 | 1.7.26 |
github.com/containous/traefik/v2Go |
before 2.2.8 | 2.2.8 |
github.com/traefik/traefik/v2Go |
2.3.0-rc1 up to 2.3.0-rc3 | 2.3.0-rc3 |
github.com/containous/traefik/v2Go |
2.3.0-rc1 up to 2.3.0-rc3 | 2.3.0-rc3 |
github.com/traefik/traefik/apiGo |
1.5.0-rc5 up to 1.7.26 | 1.7.26 |
github.com/traefik/traefik/v2/pkg/apiGo |
before 2.2.8 | 2.2.8 |
github.com/traefik/traefik/v2/pkg/apiGo |
2.3.0-rc1 up to 2.3.0-rc3 | 2.3.0-rc3 |
github.com/containous/traefik/apiGo |
1.5.0-rc5 up to 1.7.26 | 1.7.26 |
Show 15 moreShow less
| Package | Affected | Fixed |
|---|---|---|
github.com/containous/traefik/v2/pkg/apiGo |
before 2.2.8 | 2.2.8 |
github.com/containous/traefik/v2/pkg/apiGo |
2.3.0-rc1 up to 2.3.0-rc3 | 2.3.0-rc3 |
traefikAlpine:v3.16 |
2.2.0 up to 2.2.8-r0 | 2.2.8-r0 |
traefikAlpine:v3.17 |
2.2.0 up to 2.2.8-r0 | 2.2.8-r0 |
traefikAlpine:v3.18 |
2.2.0 up to 2.2.8-r0 | 2.2.8-r0 |
traefikAlpine:v3.19 |
2.2.0 up to 2.2.8-r0 | 2.2.8-r0 |
traefikAlpine:v3.20 |
2.2.0 up to 2.2.8-r0 | 2.2.8-r0 |
traefikAlpine:v3.21 |
2.2.0 up to 2.2.8-r0 | 2.2.8-r0 |
traefikAlpine:v3.22 |
2.2.0 up to 2.2.8-r0 | 2.2.8-r0 |
traefikAlpine:v3.23 |
2.2.0 up to 2.2.8-r0 | 2.2.8-r0 |
traefikAlpine:v3.24 |
2.2.0 up to 2.2.8-r0 | 2.2.8-r0 |
github.com/traefik/traefik/v2Go |
before 2.3.0-rc6 | 2.3.0-rc6 |
github.com/traefik/traefik/v2Go |
2.3.0-rc1 up to 2.3.0-rc6 | 2.3.0-rc6 |
github.com/traefik/traefik/v2/pkg/apiGo |
before 2.3.0-rc6 | 2.3.0-rc6 |
github.com/traefik/traefik/v2/pkg/apiGo |
2.3.0-rc1 up to 2.3.0-rc6 | 2.3.0-rc6 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Nuclei | Traefik - Open Redirect |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, Nuclei, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-15129 is a medium vulnerability (CVSS 6.1) in Containous Traefik, published July 30, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 8.01%, the 94th percentile. Fixed in github.com/traefik/traefik 1.7.26.
References
github.com/containous/traefik/security/advisories/GHSA-6qq8-5wq3-86rp
github.com/containous/traefik/releases/tag/v1.7.26
github.com/containous/traefik/releases/tag/v2.2.8
github.com/containous/traefik/releases/tag/v2.3.0-rc3
github.com/containous/traefik/pull/7109
github.com/containous/traefik/commit/e63db782c11c7b8bfce30be4c902e7ef8f9f33d2
Show 6 moreShow less
nvd.nist.gov/vuln/detail/CVE-2020-15129
github.com/containous/traefik/commit/cfa04c300c5db95ae8a52c31a9d973b6dd9c2254
github.com/traefik/traefik/commit/e2c5f3712f68993de8ed3cb30da9ec0aa11acb09
github.com/advisories/GHSA-6qq8-5wq3-86rp
security.alpinelinux.org/vuln/CVE-2020-15129
github.com/traefik/traefik