Vulnerability · Published Apr 21, 2025 · Assigned by GitHub_M

CVE-2025-32431Traefik has a possible vulnerability with the path matchers

High 8.8

In plain English

A high-severity path traversal in traefik from traefik. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.8High
Exploit odds (30 days)0.9%top 38.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/traefik/traefikno fix listedGO-2025-3634
Gogithub.com/traefik/traefikno fix listedGHSA-6p68-w45g-48j7
Gogithub.com/traefik/traefik/v22.11.23GO-2025-3634
Gogithub.com/traefik/traefik/v22.11.23GHSA-6p68-w45g-48j7
Gogithub.com/traefik/traefik/v33.4.0-rc2GHSA-6p68-w45g-48j7
Gogithub.com/traefik/traefik/v33.3.6GHSA-6p68-w45g-48j7
Gogithub.com/traefik/traefik/v33.3.6, 3.4.0-rc2GO-2025-3634

Affected products (as reported)

VendorProductVersions
traefik traefik < 2.11.24< 3.3.6>= 3.4.0-rc1, < 3.4.0-rc2

Weakness: CWE-22 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P

References