Skip to content
OpenAdvisories
High · 8.8 CVE-2025-32431 EUVD-2025-12231GHSA-6p68-w45g-48j7GO-2025-3634

Traefik has a possible vulnerability with the path matchers

Published Apr 21, 2025 · Updated Apr 21, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
traefik traefik < 2.11.24, < 3.3.6, >= 3.4.0-rc1, < 3.4.0-rc2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250422T181640-1.1 openSUSE-SU-2025:15017-1
openSUSE Tumbleweed traefik2 2.11.26-1.1 openSUSE-SU-2025:15305-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/traefik/traefik <= 1.7.34 — GHSA-6p68-w45g-48j7
Go github.com/traefik/traefik all versions — GO-2025-3634
Go github.com/traefik/traefik/v2 < 2.11.23 2.11.23 GHSA-6p68-w45g-48j7
Go github.com/traefik/traefik/v3 < 3.3.6 3.3.6 GHSA-6p68-w45g-48j7
Go github.com/traefik/traefik/v3 >= 3.4.0-rc1, < 3.4.0-rc2 3.4.0-rc2 GHSA-6p68-w45g-48j7
Go github.com/traefik/traefik/v3 < 3.3.6 · >= 3.4.0-rc1, < 3.4.0-rc2 3.3.6, 3.4.0-rc2 GO-2025-3634

Advisories 2

References