{"id":"CVE-2025-47952","published":"2025-05-30T03:37:12Z","modified":"2025-05-30T12:44:38Z","title":"Traefik allows path traversal using url encoding","vendor":"traefik","product":"traefik","tier":"tail","description":{"text":"Traefik (pronounced traffic) is an HTTP reverse proxy and load balancer. Prior to versions 2.11.25 and 3.4.1, 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 URL encoded string 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.25 and 3.4.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.9,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00983,"percentile":0.63165,"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-vrch-868g-9jx5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/traefik/traefik/commit/08d5dfee0164aa54dd44a467870042e18e8d3f00","tags":["x_refsource_MISC"]},{"url":"https://github.com/traefik/traefik/releases/tag/v2.11.25","tags":["x_refsource_MISC"]},{"url":"https://github.com/traefik/traefik/releases/tag/v3.4.1","tags":["x_refsource_MISC"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":12.63},{"name":"CVSS severity","points":2.03}]},"vendorSlug":"traefik","affectedVersions":[{"vendor":"traefik","product":"traefik","versions":["< 3.4.1","< 2.11.25"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-05-30T12:44:30.966786Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/traefik/traefik/v3","vulnerableRanges":["<3.4.1"],"patched":["3.4.1"],"from":["GHSA-vrch-868g-9jx5","GO-2025-3719"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/traefik/traefik/v2","vulnerableRanges":["<2.11.25"],"patched":["2.11.25"],"from":["GHSA-vrch-868g-9jx5","GO-2025-3719"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/traefik/traefik","vulnerableRanges":["<=1.7.34","all versions"],"patched":[],"from":["GHSA-vrch-868g-9jx5","GO-2025-3719"],"provenance":"source"}],"summary":{"text":"Traefik, the HTTP reverse proxy and load balancer from the traefik product, contains a path handling flaw in its PathPrefix, Path and PathRegex matchers, where a URL-encoded string in the request path can cause traffic to be routed to a backend exposed through another router. An unauthenticated remote attacker who can send network requests to a path-routed Traefik instance can exploit this to reach that other backend while bypassing the middleware chain, with no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:35Z"},"euvd":{"id":"EUVD-2025-16447","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-traefik-cve-2021-32813","parents":[{"from":"CVE-2024-45410","to":"CVE-2025-47952","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/server/server_entrypoint_tcp.go"],"commits":["https://github.com/traefik/traefik/commit/584144100524277829f26219baaab29a53b8134f","https://github.com/traefik/traefik/commit/08d5dfee0164aa54dd44a467870042e18e8d3f00"],"basis":"shared function","functions":["createHTTPServer"]}]}],"children":[{"from":"CVE-2025-47952","to":"CVE-2026-54763","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/server/server_entrypoint_tcp.go"],"commits":["https://github.com/traefik/traefik/commit/08d5dfee0164aa54dd44a467870042e18e8d3f00","https://github.com/traefik/traefik/commit/108a5264473a2cbc8f12d6d691a3c6553cdf2c1b"],"basis":"shared function","functions":["createHTTPServer","denyFragment"]}]},{"from":"CVE-2025-47952","to":"CVE-2026-88011","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/server/server_entrypoint_tcp.go"],"commits":["https://github.com/traefik/traefik/commit/08d5dfee0164aa54dd44a467870042e18e8d3f00","https://github.com/traefik/traefik/commit/0331801c72329e0eaeb850e53ccce87c57fbecf8"],"basis":"shared function","functions":["createHTTPServer","denyFragment"]}]}],"packageHistory":[{"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},{"cve":"CVE-2025-32431","published":"2025-04-21","fixed":"2.11.23","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-47952","published":"2025-05-30","fixed":"2.11.25","kev":false},{"cve":"CVE-2025-54386","published":"2025-08-01","fixed":"2.11.28","kev":false,"link":{"from":"CVE-2025-47952","to":"CVE-2025-54386","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/traefik/traefik/v2","fromFixed":"2.11.25","toFixed":"2.11.28","daysApart":63},{"kind":"version-step","provenance":"source","package":"Go:github.com/traefik/traefik/v3","fromFixed":"3.4.1","toFixed":"3.4.5","daysApart":63}]}},{"cve":"CVE-2025-66490","published":"2025-12-09","fixed":"2.11.32","kev":false},{"cve":"CVE-2026-22045","published":"2026-01-15","fixed":"2.11.35","kev":false}],"package":"Go:github.com/traefik/traefik/v2"}}