Vulnerabilities / CVE-2025-32431

critical

CVE-2025-32431

Traefik has a possible vulnerability with its path matchers

Published Modified CWE 22
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GHSA8.8CVSS: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

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).

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 and fixed versions

SourcePackageFixed in
go::GitHub Security Advisory Gogithub.com/traefik/traefik, github.com/traefik/traefik/v2, github.com/traefik/traefik/v32.11.23 and 1 more
minimostraefik-2, traefik-32.11.23-r0 and 1 more
rapidfort alpine 3.20traefik3.7.1-r0
rapidfort alpine 3.21traefik3.7.1-r0
rapidfort alpine 3.22traefik3.7.1-r0
rapidfort alpine 3.24traefik3.7.1-r0
Show all 9 entries from 6 sources
SourcePackageFixed in
go::GitHub Security Advisory Gogithub.com/traefik/traefikno fix listed
go::GitHub Security Advisory Gogithub.com/traefik/traefik/v22.11.23
go::GitHub Security Advisory Gogithub.com/traefik/traefik/v33.3.6, 3.4.0-rc2
minimostraefik-22.11.23-r0
minimostraefik-33.3.6-r0
rapidfort alpine 3.20traefik3.7.1-r0
rapidfort alpine 3.21traefik3.7.1-r0
rapidfort alpine 3.22traefik3.7.1-r0
rapidfort alpine 3.24traefik3.7.1-r0

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.