Every CVE Search/ Get API key

CVE-2020-15129

Open redirect in Traefik

6.1 MediumFix available

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

8.01%Up 6.6 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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)

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 MediumCVSS: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 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N
CVSS 3.1
4.7 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
4.0 MediumAV: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 MediumCVSS: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 MediumCVSS: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)

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 MediumCVSS: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

Affected packages
PackageAffectedFixed
github.com/traefik/traefik
Go
1.5.0-rc5 up to 1.7.26
1.7.26
github.com/traefik/traefik/v2
Go
before 2.2.8
2.2.8
github.com/containous/traefik
Go
1.5.0-rc5 up to 1.7.26
1.7.26
github.com/containous/traefik/v2
Go
before 2.2.8
2.2.8
github.com/traefik/traefik/v2
Go
2.3.0-rc1 up to 2.3.0-rc3
2.3.0-rc3
github.com/containous/traefik/v2
Go
2.3.0-rc1 up to 2.3.0-rc3
2.3.0-rc3
github.com/traefik/traefik/api
Go
1.5.0-rc5 up to 1.7.26
1.7.26
github.com/traefik/traefik/v2/pkg/api
Go
before 2.2.8
2.2.8
github.com/traefik/traefik/v2/pkg/api
Go
2.3.0-rc1 up to 2.3.0-rc3
2.3.0-rc3
github.com/containous/traefik/api
Go
1.5.0-rc5 up to 1.7.26
1.7.26
Show 15 moreShow less
Affected packages
PackageAffectedFixed
github.com/containous/traefik/v2/pkg/api
Go
before 2.2.8
2.2.8
github.com/containous/traefik/v2/pkg/api
Go
2.3.0-rc1 up to 2.3.0-rc3
2.3.0-rc3
traefik
Alpine:v3.16
2.2.0 up to 2.2.8-r0
2.2.8-r0
traefik
Alpine:v3.17
2.2.0 up to 2.2.8-r0
2.2.8-r0
traefik
Alpine:v3.18
2.2.0 up to 2.2.8-r0
2.2.8-r0
traefik
Alpine:v3.19
2.2.0 up to 2.2.8-r0
2.2.8-r0
traefik
Alpine:v3.20
2.2.0 up to 2.2.8-r0
2.2.8-r0
traefik
Alpine:v3.21
2.2.0 up to 2.2.8-r0
2.2.8-r0
traefik
Alpine:v3.22
2.2.0 up to 2.2.8-r0
2.2.8-r0
traefik
Alpine:v3.23
2.2.0 up to 2.2.8-r0
2.2.8-r0
traefik
Alpine:v3.24
2.2.0 up to 2.2.8-r0
2.2.8-r0
github.com/traefik/traefik/v2
Go
before 2.3.0-rc6
2.3.0-rc6
github.com/traefik/traefik/v2
Go
2.3.0-rc1 up to 2.3.0-rc6
2.3.0-rc6
github.com/traefik/traefik/v2/pkg/api
Go
before 2.3.0-rc6
2.3.0-rc6
github.com/traefik/traefik/v2/pkg/api
Go
2.3.0-rc1 up to 2.3.0-rc6
2.3.0-rc6

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
NucleiTraefik - Open Redirect

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE 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

Show 6 moreShow less
MoveEnter Open