Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐹 Go

GHSA-6qq8-5wq3-86rp

MEDIUM

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

Also known asCVE-2020-15129
Published
Feb 11, 2022
Updated
Mar 13, 2026
Affected
12 pkgs
Patched
12 / 12
Exploits
None indexed

EPSS Exploitation Probability

via FIRST.org ↗
8.2%probability of exploitation in next 30 days
Lower Risk94th percentile-68.64%
0.00%33.3%66.7%100.0%81.1%8.2%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

12 pkgs affected
🐹github.com/traefik/traefik🐹github.com/traefik/traefik/v2🐹github.com/containous/traefik🐹github.com/containous/traefik/v2🐹github.com/traefik/traefik/v2🐹github.com/containous/traefik/v2🐹github.com/traefik/traefik/api🐹github.com/traefik/traefik/v2/pkg/api+4 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

12 total 12 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/traefik/traefik1.5.0-rc5&&< 1.7.261.7.26
🐹Gogithub.com/traefik/traefik/v2all versions2.3.0-rc6
🐹Gogithub.com/containous/traefik1.5.0-rc5&&< 1.7.261.7.26
🐹Gogithub.com/containous/traefik/v2all versions2.2.8
🐹Gogithub.com/traefik/traefik/v22.3.0-rc1&&< 2.3.0-rc62.3.0-rc6
🐹Gogithub.com/containous/traefik/v22.3.0-rc1&&< 2.3.0-rc32.3.0-rc3

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/traefik/traefik. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update github.com/traefik/traefik to 1.7.26 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-6qq8-5wq3-86rp is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-6qq8-5wq3-86rp is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-6qq8-5wq3-86rp. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

## 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://e
O3 Security · Impact-Aware SCA

Is GHSA-6qq8-5wq3-86rp in your dependencies?

O3 detects GHSA-6qq8-5wq3-86rp across Go dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.