CVE-2025-32431
Traefik has a possible vulnerability with its path matchers
Overview
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.
Source: OX vulnerability database
Severity
9.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness: CWE-22
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | github.com/traefik/traefik | <=1.7.34 | No fix yet |
| Go | github.com/traefik/traefik/v2 | <2.11.23 | 2.11.23 |
| Go | github.com/traefik/traefik/v3 | <3.3.6>=3.4.0-rc1, <3.4.0-rc2 | 3.3.63.4.0-rc2 |
Open a package to see all its vulnerabilities.
Operating systems · 4 fixes
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| traefik-2 | 2.11.23-r0 | |
| traefik-3 | 3.3.6-r0 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | govulncheck-vulndb | 0.0.20250422T181640-1.1 | openSUSE-SU-2025:15017-1 |
| Tumbleweed | traefik2 | 2.11.26-1.1 | openSUSE-SU-2025:15305-1 |
References
- github.com https://github.com/traefik/traefik
- github.com https://github.com/traefik/traefik/pull/11684
- github.com https://github.com/traefik/traefik/releases/tag/v2.11.24
- github.com https://github.com/traefik/traefik/releases/tag/v3.3.6
- github.com https://github.com/traefik/traefik/releases/tag/v3.4.0-rc2
- github.com https://github.com/traefik/traefik/security/advisories/GHSA-6p68-w45g-48j7
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-32431
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.