CVE-2024-52003
X-Forwarded-Prefix Header still allows for Open Redirect in traefik
Also known as GHSA-h924-8g65-j9wg, GO-2024-3299
Mitigation
- Upgrade github.com/traefik/traefik/v2 to 2.11.14 or later.
- Upgrade github.com/traefik/traefik/v3 to 3.2.1 or later.
Who should check
- Projects that depend on Go package github.com/traefik/traefik/v2 (< 2.11.14)
- Projects that depend on Go package github.com/traefik/traefik/v3 (< 3.2.1)
- Projects that depend on Go package github.com/traefik/traefik
- Anyone running traefik < 2.11.14; >= 3.0.0, < 3.2.1
Vulnerability facts
- Affected
- github.com/traefik/traefik/v2 < 2.11.14; github.com/traefik/traefik/v3 < 3.2.1; github.com/traefik/traefik
- Fixed in
- 2.11.14, 3.2.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.58% chance of exploitation in 30 days (percentile 42, 2026-11-26)
- CWE
- CWE-601
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/traefik/traefik/v2 | < 2.11.14 | 2.11.14 | osv |
| Go github.com/traefik/traefik/v3 | < 3.2.1 | 3.2.1 | osv |
| Go github.com/traefik/traefik | — | — | osv |
| traefik | < 2.11.14; >= 3.0.0, < 3.2.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-52003. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-52003.md Affected: github.com/traefik/traefik/v2 < 2.11.14; github.com/traefik/traefik/v3 < 3.2.1; github.com/traefik/traefik Fixed in: 2.11.14, 3.2.1 Steps: 1. Search this machine and project for github.com/traefik/traefik/v2 (Go), github.com/traefik/traefik/v3 (Go), github.com/traefik/traefik (Go), traefik: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2024-52003 being exploited?
There is no confirmed exploitation: CVE-2024-52003 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-52003?
Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-52003?
github.com/traefik/traefik/v2 < 2.11.14; github.com/traefik/traefik/v3 < 3.2.1; github.com/traefik/traefik.
Is there a fix for CVE-2024-52003?
Yes. Fixed in 2.11.14, 3.2.1. Upgrade github.com/traefik/traefik/v2 to 2.11.14 or later. Upgrade github.com/traefik/traefik/v3 to 3.2.1 or later.
How do I check if I'm affected by CVE-2024-52003?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.