{"id":"CVE-2025-32431","published":"2025-04-21T15:34:04Z","modified":"2025-04-21T15:55:15Z","title":"Traefik has a possible vulnerability with the path matchers","vendor":"traefik","product":"traefik","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01205,"percentile":0.68173,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/traefik/traefik/security/advisories/GHSA-6p68-w45g-48j7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/traefik/traefik/pull/11684","tags":["x_refsource_MISC"]},{"url":"https://github.com/traefik/traefik/releases/tag/v2.11.24","tags":["x_refsource_MISC"]},{"url":"https://github.com/traefik/traefik/releases/tag/v3.3.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/traefik/traefik/releases/tag/v3.4.0-rc2","tags":["x_refsource_MISC"]}],"priority":{"score":19.8,"factors":[{"name":"EPSS percentile","points":13.63},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"traefik","affectedVersions":[{"vendor":"traefik","product":"traefik","versions":["< 2.11.24","< 3.3.6",">= 3.4.0-rc1, < 3.4.0-rc2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-21T15:55:08.342564Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/traefik/traefik","vulnerableRanges":["<=1.7.34","all versions"],"patched":[],"from":["GHSA-6p68-w45g-48j7","GO-2025-3634"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v2","vulnerableRanges":["<2.11.23"],"patched":["2.11.23"],"from":["GHSA-6p68-w45g-48j7","GO-2025-3634"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v3","vulnerableRanges":["<3.3.6",">=3.4.0-rc1, <3.4.0-rc2"],"patched":["3.3.6","3.4.0-rc2"],"from":["GHSA-6p68-w45g-48j7","GO-2025-3634"],"provenance":"source"}],"summary":{"text":"A path-handling flaw in Traefik's routing of requests that use PathPrefix, Path, or PathRegex matchers allows a request containing \"/../\" in its URL path to reach a backend exposed through a different router, bypassing that route's middleware chain. An unauthenticated remote attacker over the network can exploit it without user interaction, provided Traefik is configured to route traffic using these path-based matchers.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:37Z"},"euvd":{"id":"EUVD-2025-12231","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-traefik-cve-2021-32813","packageHistory":[{"cve":"CVE-2024-39321","published":"2024-07-05","fixed":"2.11.6","kev":false},{"cve":"CVE-2024-45410","published":"2024-09-19","fixed":"2.11.9","kev":false},{"cve":"CVE-2024-52003","published":"2024-11-29","fixed":"2.11.14","kev":false,"link":{"from":"CVE-2024-52003","to":"CVE-2025-32431","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/traefik/traefik/v2","fromFixed":"2.11.14","toFixed":"2.11.23","daysApart":143},{"kind":"version-step","provenance":"source","package":"Go:github.com/traefik/traefik/v3","fromFixed":"3.2.1","toFixed":"3.3.6","daysApart":143}]}},{"cve":"CVE-2025-32431","published":"2025-04-21","fixed":"2.11.23","kev":false},{"cve":"CVE-2025-47952","published":"2025-05-30","fixed":"2.11.25","kev":false,"link":{"from":"CVE-2025-32431","to":"CVE-2025-47952","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/traefik/traefik/v2","fromFixed":"2.11.23","toFixed":"2.11.25","daysApart":39},{"kind":"version-step","provenance":"source","package":"Go:github.com/traefik/traefik/v3","fromFixed":"3.4.0-rc2","toFixed":"3.4.1","daysApart":39},{"kind":"similar","provenance":"machine","score":0.83,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2025-54386","published":"2025-08-01","fixed":"2.11.28","kev":false},{"cve":"CVE-2025-66490","published":"2025-12-09","fixed":"2.11.32","kev":false}],"package":"Go:github.com/traefik/traefik/v2"}}