{"answers":{"affected":"3 open source packages ship an affected version, including github.com/go-chi/chi/v5.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-71405 exists.","fix":"Upgrade github.com/go-chi/chi/v5 to 5.2.2 or later.","what":"CVE-2025-71405 is a medium-severity vulnerability in go-chi chi, published on 14 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-71405 and fix it if it is affected.\n\nWhat it is: CVE-2025-71405 is a medium-severity vulnerability in go-chi chi, published on 14 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-71405 exists.\n\nAffected packages and fixed versions:\n- github.com/go-chi/chi/v5 (Go): affected all versions; fixed in 5.2.2\n- github.com/go-chi/chi/v5 (Go): affected all versions; fixed in 5.2.2\n- github.com/go-chi/chi/v5 (Go): affected from 5.2.1; fixed in 5.2.2\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-71405/ (Markdown: https://insights.sbomify.com/CVE-2025-71405/index.md)","id":"CVE-2025-71405","markdown":"https://insights.sbomify.com/CVE-2025-71405/index.md","name":"CVE-2025-71405","record":{"aliases":["CLEANSTART-2026-HY04469","DEBIAN-CVE-2025-71405","GHSA-vrw8-fxc6-2r93","GO-2025-3770","MINI-2cg4-5vv8-gqx6","MINI-2h69-fvm5-rxjg","MINI-3qqr-m37q-7v74","MINI-5rcp-w369-5j3m","MINI-6fxr-3jrw-9cfq","MINI-87c8-8vjm-9cg8","MINI-c7jp-6x86-w5vm","MINI-c7p6-x69g-9wv6","MINI-fh8p-6wf8-98f7","MINI-fj34-frcm-hgpp","MINI-fw2q-56j3-9m2v","MINI-g25p-pgv8-9jvg","MINI-gf7m-986g-4m59","MINI-h38x-q25p-x6m3","MINI-hfxm-59mv-7r5m","MINI-j6fc-9q7r-f958","MINI-m9x8-4xc7-gwcf","MINI-mj5q-8v6p-6jrr","MINI-ppj3-m869-m84r","MINI-qg73-x4v2-c34g","MINI-v82h-rvv9-92jr","MINI-v94x-ccm5-9xx3","UBUNTU-CVE-2025-71405"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go web router library","requires_auth":"none","summary":"Attackers can exploit the RedirectSlashes middleware to redirect users to malicious sites via Host header manipulation, facilitating phishing attacks.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"chi versions before v5.2.2 contain an open redirect vulnerability in the RedirectSlashes middleware function that uses the Host header to construct redirect URLs. Attackers can manipulate the Host header to redirect users to arbitrary hosts, enabling phishing attacks and credential theft.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"go-chi chi before v5.2.2 Open Redirect via RedirectSlashes","id":"CVE-2025-71405","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"open_redirect","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"This CVE ID has been rejected as a duplicate.","id":"CVE-2025-71406"},"packages":[{"ecosystem":"Go","fixed":["5.2.2"],"introduced":["0"],"last_affected":[],"package":"github.com/go-chi/chi/v5","purl":null,"source":"GHSA-vrw8-fxc6-2r93"},{"ecosystem":"Go","fixed":["5.2.2"],"introduced":["0"],"last_affected":[],"package":"github.com/go-chi/chi/v5","purl":"pkg:golang/github.com/go-chi/chi/v5","source":"GHSA-vrw8-fxc6-2r93"},{"ecosystem":"Go","fixed":["5.2.2"],"introduced":["5.2.1"],"last_affected":[],"package":"github.com/go-chi/chi/v5","purl":"pkg:golang/github.com/go-chi/chi/v5","source":"GO-2025-3770"}],"prev":{"headline":"better-auth before 1.1.16 Reflected XSS via error parameter","id":"CVE-2025-71404"},"products":["chi"],"published":"2026-08-14","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["go-chi"]},"summary":"Attackers can exploit the RedirectSlashes middleware to redirect users to malicious sites via Host header manipulation, facilitating phishing attacks.","url":"https://insights.sbomify.com/CVE-2025-71405/"}