{"answers":{"affected":"11 open source packages ship an affected version, including github.com/traefik/traefik/v3, github.com/traefik/traefik and github.com/traefik/traefik/v2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-32431 in the wild and no public exploit code.","fix":"Upgrade github.com/traefik/traefik/v3 to a fixed version for your release line: 3.3.6 or 3.4.0-rc2.","what":"CVE-2025-32431 is a high-severity path traversal vulnerability in Traefik Traefik, published on 21 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-32431 and fix it if it is affected.\n\nWhat it is: CVE-2025-32431 is a high-severity path traversal vulnerability in Traefik Traefik, published on 21 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-32431 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/traefik/traefik/v3 (Go): affected all versions; fixed in 3.3.6, 3.4.0-rc2\n- github.com/traefik/traefik/v3 (Go): affected all versions; fixed in 3.3.6\n- github.com/traefik/traefik/v3 (Go): affected all versions; fixed in 3.3.6\n- github.com/traefik/traefik/v3 (Go): affected from 3.4.0-rc1; fixed in 3.4.0-rc2\n- github.com/traefik/traefik/v3 (Go): affected from 3.4.0-rc1; fixed in 3.4.0-rc2\n- github.com/traefik/traefik (Go): affected all versions; no fix listed\n- github.com/traefik/traefik (Go): affected all versions up to 1.7.34; no fix listed\n- github.com/traefik/traefik (Go): affected all versions up to 1.7.34; no fix listed\n- github.com/traefik/traefik/v2 (Go): affected all versions; fixed in 2.11.23\n- github.com/traefik/traefik/v2 (Go): affected all versions; fixed in 2.11.23\n- github.com/traefik/traefik/v2 (Go): affected all versions; fixed in 2.11.23\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-32431/ (Markdown: https://insights.sbomify.com/CVE-2025-32431/index.md)","id":"CVE-2025-32431","markdown":"https://insights.sbomify.com/CVE-2025-32431/index.md","name":"CVE-2025-32431","record":{"aliases":["ECHO-5622-1894-e085","GHSA-6p68-w45g-48j7","GO-2025-3634","MINI-5fcw-ph6w-2fcc","MINI-f5rm-4chp-xcgq"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Traefik reverse proxy","requires_auth":"none","summary":"Attackers can bypass middleware chains and access restricted backends by using path traversal sequences in URLs when specific path matchers are configured.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"traefik","vendor":"traefik"}],"cvss":{"score":8.8,"severity":"high","source":"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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Traefik has a possible vulnerability with the path matchers","id":"CVE-2025-32431","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"traefik:traefik","products":["traefik:traefik"],"type":"path_traversal","year":"2025"},"n_packages":11,"n_references":5,"next":{"headline":"Craft CMS Code Injection","id":"CVE-2025-32432"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/traefik/traefik","purl":"pkg:golang/github.com/traefik/traefik","source":"GO-2025-3634"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.7.34"],"package":"github.com/traefik/traefik","purl":null,"source":"GHSA-6p68-w45g-48j7"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.7.34"],"package":"github.com/traefik/traefik","purl":"pkg:golang/github.com/traefik/traefik","source":"GHSA-6p68-w45g-48j7"},{"ecosystem":"Go","fixed":["2.11.23"],"introduced":["0"],"last_affected":[],"package":"github.com/traefik/traefik/v2","purl":null,"source":"GHSA-6p68-w45g-48j7"},{"ecosystem":"Go","fixed":["2.11.23"],"introduced":["0"],"last_affected":[],"package":"github.com/traefik/traefik/v2","purl":"pkg:golang/github.com/traefik/traefik/v2","source":"GHSA-6p68-w45g-48j7"},{"ecosystem":"Go","fixed":["2.11.23"],"introduced":["0"],"last_affected":[],"package":"github.com/traefik/traefik/v2","purl":"pkg:golang/github.com/traefik/traefik/v2","source":"GO-2025-3634"},{"ecosystem":"Go","fixed":["3.3.6","3.4.0-rc2"],"introduced":["0","3.4.0-rc1"],"last_affected":[],"package":"github.com/traefik/traefik/v3","purl":"pkg:golang/github.com/traefik/traefik/v3","source":"GO-2025-3634"},{"ecosystem":"Go","fixed":["3.3.6"],"introduced":["0"],"last_affected":[],"package":"github.com/traefik/traefik/v3","purl":null,"source":"GHSA-6p68-w45g-48j7"},{"ecosystem":"Go","fixed":["3.3.6"],"introduced":["0"],"last_affected":[],"package":"github.com/traefik/traefik/v3","purl":"pkg:golang/github.com/traefik/traefik/v3","source":"GHSA-6p68-w45g-48j7"},{"ecosystem":"Go","fixed":["3.4.0-rc2"],"introduced":["3.4.0-rc1"],"last_affected":[],"package":"github.com/traefik/traefik/v3","purl":null,"source":"GHSA-6p68-w45g-48j7"},{"ecosystem":"Go","fixed":["3.4.0-rc2"],"introduced":["3.4.0-rc1"],"last_affected":[],"package":"github.com/traefik/traefik/v3","purl":"pkg:golang/github.com/traefik/traefik/v3","source":"GHSA-6p68-w45g-48j7"}],"prev":{"headline":"XWiki Platform contains Reflected XSS vulnerability in two templates","id":"CVE-2025-32430"},"products":["traefik"],"published":"2025-04-21","related":[{"cvss_score":9.8,"headline":"HTTP client can remove the X-Forwarded headers in Traefik","id":"CVE-2024-45410","kev_date_added":null,"published":"2024-09-19"},{"cvss_score":9.3,"headline":"Traefik v3.7.0 Authentication Bypass via from-to-www-redirect","id":"CVE-2026-88877","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":9.3,"headline":"Traefik before v2.11.55 and v3.0.0 through v3.7.10 Authentication Bypass via digestAuth","id":"CVE-2026-85595","kev_date_added":null,"published":"2026-09-04"},{"cvss_score":9.1,"headline":"Traefik HTTP/3 Backend NTLM Connection Reuse","id":"CVE-2026-88007","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":8.8,"headline":"Traefik: Rootless HTTP/1 request-target routes as \"/\" but is forwarded verbatim, bypassing path-scoped routing, middleware guards and access logging","id":"CVE-2026-88009","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":8.2,"headline":"Traefik v3.7 Authentication Bypass via TLS Option Conflict","id":"CVE-2026-85596","kev_date_added":null,"published":"2026-09-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-21","vendors":["traefik"]},"summary":"Attackers can bypass middleware chains and access restricted backends by using path traversal sequences in URLs when specific path matchers are configured.","url":"https://insights.sbomify.com/CVE-2025-32431/"}