# CVE-2020-15129: Traefik vulnerable to Open Redirect via handling of X-Forwarded-Prefix header

Source: https://junglewise.ai/threats/cve-2020-15129-traefik-vulnerable-to-open-redirect-via-handling-of-x-forwarded  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-02-11  
License: CC BY 4.0 with a link back

CVE-2020-15129 · Severity: low · CVSS 3.1 · Published 2022-02-11

Traefik vulnerable to Open Redirect via handling of X-Forwarded-Prefix header

Technologies: [github.com/containous/traefik (Go)](https://junglewise.ai/threats/technologies/github-com-containous-traefik), [github.com/containous/traefik/v2 (Go)](https://junglewise.ai/threats/technologies/github-com-containous-traefik-v2), [github.com/traefik/traefik (Go)](https://junglewise.ai/threats/technologies/github-com-traefik-traefik), [github.com/traefik/traefik/v2 (Go)](https://junglewise.ai/threats/technologies/github-com-traefik-traefik-v2). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2020-15129 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-15129 being exploited in the wild.

**How severe is CVE-2020-15129?** Low severity, with a CVSS score of 3.1, published 11 February 2022.

**Which products and versions are affected?** github.com/containous/traefik (Go) SEMVER:introduced=1.5.0-rc5,fixed=1.7.26; github.com/containous/traefik/api (Go) SEMVER:introduced=1.5.0-rc5,fixed=1.7.26; github.com/containous/traefik/v2 (Go) SEMVER:introduced=0,fixed=2.2.8; github.com/containous/traefik/v2/pkg/api (Go) SEMVER:introduced=0,fixed=2.2.8; and 4 more.

**Is there a fix for CVE-2020-15129?** Yes. github.com/containous/traefik (Go): upgrade to 1.7.26 or later; github.com/containous/traefik/api (Go): upgrade to 1.7.26 or later; github.com/containous/traefik/v2 (Go): upgrade to 2.2.8 or later; github.com/containous/traefik/v2/pkg/api (Go): upgrade to 2.2.8 or later; github.com/traefik/traefik (Go): upgrade to 1.7.26 or later; github.com/traefik/traefik/api (Go): upgrade to 1.7.26 or later; github.com/traefik/traefik/v2 (Go): upgrade to 2.3.0-rc6 or later; github.com/traefik/traefik/v2/pkg/api (Go): upgrade to 2.3.0-rc6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-15129?** Check whether you run github.com/containous/traefik (Go), github.com/containous/traefik/api (Go), github.com/containous/traefik/v2 (Go) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/containous/traefik (Go): upgrade to 1.7.26 or later

  ```sh
  go get github.com/containous/traefik@v1.7.26
  ```

- github.com/containous/traefik/api (Go): upgrade to 1.7.26 or later

  ```sh
  go get github.com/containous/traefik/api@v1.7.26
  ```

- github.com/containous/traefik/v2 (Go): upgrade to 2.2.8 or later

  ```sh
  go get github.com/containous/traefik/v2@v2.2.8
  ```

- github.com/containous/traefik/v2/pkg/api (Go): upgrade to 2.2.8 or later

  ```sh
  go get github.com/containous/traefik/v2/pkg/api@v2.2.8
  ```

- github.com/traefik/traefik (Go): upgrade to 1.7.26 or later

  ```sh
  go get github.com/traefik/traefik@v1.7.26
  ```

- github.com/traefik/traefik/api (Go): upgrade to 1.7.26 or later

  ```sh
  go get github.com/traefik/traefik/api@v1.7.26
  ```

- github.com/traefik/traefik/v2 (Go): upgrade to 2.3.0-rc6 or later

  ```sh
  go get github.com/traefik/traefik/v2@v2.3.0-rc6
  ```

- github.com/traefik/traefik/v2/pkg/api (Go): upgrade to 2.3.0-rc6 or later

  ```sh
  go get github.com/traefik/traefik/v2/pkg/api@v2.3.0-rc6
  ```


## Affected products

- github.com/containous/traefik (Go) SEMVER:introduced=1.5.0-rc5,fixed=1.7.26
- github.com/containous/traefik/api (Go) SEMVER:introduced=1.5.0-rc5,fixed=1.7.26
- github.com/containous/traefik/v2 (Go) SEMVER:introduced=0,fixed=2.2.8
- github.com/containous/traefik/v2/pkg/api (Go) SEMVER:introduced=0,fixed=2.2.8
- github.com/traefik/traefik (Go) SEMVER:introduced=1.5.0-rc5,fixed=1.7.26
- github.com/traefik/traefik/api (Go) SEMVER:introduced=1.5.0-rc5,fixed=1.7.26
- github.com/traefik/traefik/v2 (Go) SEMVER:introduced=0,fixed=2.3.0-rc6
- github.com/traefik/traefik/v2/pkg/api (Go) SEMVER:introduced=0,fixed=2.3.0-rc6

## Identifiers

- CVE-2020-15129
- GHSA-6qq8-5wq3-86rp

## Related threats

- [Traefik BasicAuth singleflight username enumeration via timing oracle](https://junglewise.ai/threats/cve-2026-88010-traefik-basicauth-singleflight-username-enumeration-via-timing)
- [Traefik readTimeout not enforced on HTTP/3 connections](https://junglewise.ai/threats/cve-2026-88012-traefik-readtimeout-not-enforced-on-http-3-connections)
- [Traefik ForwardAuth identity spoofing via header alias](https://junglewise.ai/threats/cve-2026-88011-traefik-forwardauth-identity-spoofing-via-header-alias)
- [Traefik rootless HTTP/1 request-target routing bypass](https://junglewise.ai/threats/cve-2026-88009-traefik-rootless-http-1-request-target-routing-bypass)
- [Traefik HTTP request smuggling via unrestricted protocol upgrade](https://junglewise.ai/threats/cve-2026-88008-traefik-http-request-smuggling-via-unrestricted-protocol-upgrade)
