CVE-2025-47952
Traefik allows path traversal using url encoding
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (low).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/traefik/traefik, github.com/traefik/traefik/v2, github.com/traefik/traefik/v3 | 2.11.25 and 1 more |
| minimos | traefik-2, traefik-3 | 2.11.25-r0 and 1 more |
| rapidfort alpine 3.20 | traefik | 3.7.1-r0 |
| rapidfort alpine 3.21 | traefik | 3.7.1-r0 |
| rapidfort alpine 3.22 | traefik | 3.7.1-r0 |
| rapidfort alpine 3.24 | traefik | 3.7.1-r0 |
Show all 9 entries from 6 sources
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/traefik/traefik | no fix listed |
| go::GitHub Security Advisory Go | github.com/traefik/traefik/v2 | 2.11.25 |
| go::GitHub Security Advisory Go | github.com/traefik/traefik/v3 | 3.4.1 |
| minimos | traefik-2 | 2.11.25-r0 |
| minimos | traefik-3 | 3.4.1-r0 |
| rapidfort alpine 3.20 | traefik | 3.7.1-r0 |
| rapidfort alpine 3.21 | traefik | 3.7.1-r0 |
| rapidfort alpine 3.22 | traefik | 3.7.1-r0 |
| rapidfort alpine 3.24 | traefik | 3.7.1-r0 |
References
- https://github.com/traefik/traefik
- https://github.com/traefik/traefik/commit/08d5dfee0164aa54dd44a467870042e18e8d3f00
- https://github.com/traefik/traefik/releases/tag/v2.11.25
- https://github.com/traefik/traefik/releases/tag/v3.4.1
- https://github.com/traefik/traefik/security/advisories/GHSA-vrch-868g-9jx5
- https://nvd.nist.gov/vuln/detail/CVE-2025-47952