Path Traversal in Traefik

CVE-2025-32431

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.009 (55.7th percentile) — read the EPSS interpretation.

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.

Affected products

  • Traefik — versions < 3.3.6, >= 3.4.0-rc1, < 3.4.0-rc2, < 2.11.24

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-32431?
CVE-2025-32431 is a critical-severity vulnerability in Traefik, classified under Path Traversal. CVSS score: 9.1/10. Published 2025-04-21.
How severe is CVE-2025-32431?
Critical severity. CVSS v3 base score is 9.1 out of 10.
Is CVE-2025-32431 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.