Traefik has a possible vulnerability with the path matchers
CVE-2025-32431Published 21 Apr 2025, 15:34 UTC
Real-world risk
6.8/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.8
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| TraefikWidespread | < 2.11.24; < 3.3.6; >= 3.4.0-rc1, < 3.4.0-rc2 | 2.11.24, 3.3.6, 3.4.0-rc2 |
What to do
Update to a fixed version: 2.11.24, 3.3.6, 3.4.0-rc2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 1.0% chance of exploitation in 30 days (percentile 63), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 1 × threat 0.856.800
- Rounded to one decimal between 0.1 and 106.8
Exploitation and evidence timeline
- 21 Apr 2025 Published
- 3 Dec 2026 Risk 6.8 (cvss fallback)
Weakness
CWE-22
References
- https://github.com/traefik/traefik/security/advisories/GHSA-6p68-w45g-48j7vendor-advisory
- https://github.com/traefik/traefik/pull/11684misc
- https://github.com/traefik/traefik/releases/tag/v2.11.24misc
- https://github.com/traefik/traefik/releases/tag/v3.3.6misc
- https://github.com/traefik/traefik/releases/tag/v3.4.0-rc2misc
- CVE-2025-32431 on CVE.org