Path Traversal in Traefik
CVE-2025-47952
Traefik (pronounced traffic) is an HTTP reverse proxy and load balancer. Prior to versions 2.11.25 and 3.4.1, there is a potential vulnerability in Traefik managing the requests using a PathPrefix, Path or PathRegex matcher. When Traefik is configured to route the requests to a backend using a matcher based on the path, if the URL contains a URL encoded string in its path, it’s possible to target a backend, exposed using another router, by-passing the middlewares chain. This issue has been patched in versions 2.11.25 and 3.4.1.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.010, 62.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Traefik — versions < 3.4.1, < 2.11.25
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/traefik/traefik/security/advisories/GHSA-vrch-868g-9jx5 (Patch, Vendor Advisory)
- https://github.com/traefik/traefik/commit/08d5dfee0164aa54dd44a467870042e18e8d3f00 (Patch)
- https://github.com/traefik/traefik/releases/tag/v2.11.25 (Release Notes)
- https://github.com/traefik/traefik/releases/tag/v3.4.1 (Release Notes)