CVE-2025-32431 Traefik has a possible vulnerability with the path matchers
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- Network Appliances
Description
Traefik (pronounced traffic) is an HTTP reverse proxy and load balancer. In versions prior to 2.11.24, 3.3.6, and 3.4.0-rc2. 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 /../ 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.24, 3.3.6, and 3.4.0-rc2. A workaround involves adding a PathRegexp rule to the matcher to prevent matching a route with a /../ in the path.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| traefik(Go) | < 2.11.23; < 3.3.6; <= 1.7.34; = 3.4.0-rc1 +2 more | 2.11.23, 3.3.6, 3.4.0-rc2 | Partially fixed |
| traefik | < 2.11.24; = 3.4.0; = 3.4.0-rc1; = < 2.11.24 +3 more | 2.11.24, 3.3.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| traefik(Go) | <= 1.7.34 | No fix listed |
| traefik(Go) | < 2.11.23 | 2.11.23 |
| traefik(Go) | < 3.3.6 | 3.3.6 |
| traefik(Go) | >= 3.4.0-rc1, < 3.4.0-rc2 | 3.4.0-rc2 |
| traefik(Go) | = 3.4.0-rc1 | No fix listed |
| traefik(Go) | All versions | No fix listed |
| traefik | = < 2.11.24 | No fix listed |
| traefik | = < 3.3.6 | No fix listed |
| traefik | = >= 3.4.0-rc1, < 3.4.0-rc2 | No fix listed |
| traefik | < 2.11.24 | 2.11.24 |
| traefik | >= 3.0.0, < 3.3.6 | 3.3.6 |
| traefik | = 3.4.0 | No fix listed |
| traefik | = 3.4.0-rc1 | No fix listed |
References
- https://github.com/traefik/traefik/security/advisories/GHSA-6p68-w45g-48j7 patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/traefik/traefik/pull/11684 patch
- github.com product
- https://github.com/traefik/traefik/releases/tag/v2.11.24 release-notes
- https://github.com/traefik/traefik/releases/tag/v3.3.6 release-notes
- https://github.com/traefik/traefik/releases/tag/v3.4.0-rc2 release-notes
- github.com