{"id":"CVE-2025-71405","published":"2026-08-14T11:35:23Z","modified":"2026-10-08T15:21:34Z","title":"go-chi chi before v5.2.2 Open Redirect via RedirectSlashes","vendor":"go-chi","product":"chi","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00388,"percentile":0.33809,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/go-chi-chi-before-open-redirect-via-redirectslashes","tags":["third-party-advisory"]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":6.76},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"go-chi","affectedVersions":[{"vendor":"go-chi","product":"chi","versions":["< 5.2.2"]}],"fixedVersions":[{"vendor":"go-chi","product":"chi","versions":["5.2.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-14T18:57:32.118107Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/go-chi/chi/v5","vulnerableRanges":["<5.2.2",">=5.2.1, <5.2.2"],"patched":["5.2.2"],"from":["GHSA-vrw8-fxc6-2r93","GO-2025-3770"],"provenance":"source"}],"summary":{"text":"The go-chi chi Go router, versions before v5.2.2, has an open redirect in its RedirectSlashes middleware, which builds redirect URLs from the Host header. An attacker who can manipulate the Host header can send users to arbitrary hosts, enabling phishing and credential theft, and this requires only network access with no authentication, though it does depend on the victim taking some action such as following the redirect.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:46Z"},"euvd":{"id":"EUVD-2025-210728","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-go-chi-chi-cve-2025-69725","parents":[{"from":"CVE-2025-69725","to":"CVE-2025-71405","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["middleware/strip.go"],"commits":["https://github.com/go-chi/chi/commit/6eb35881c0e438ffb663ddbad3a61babaa5e5d8a","https://github.com/go-chi/chi/commit/1be7ad938cc9c5b39a9dea01a5c518848928ab65"],"basis":"shared function","functions":["RedirectSlashes"]}]}],"packageHistory":[{"cve":"CVE-2025-71405","published":"2026-08-14","fixed":"5.2.2","kev":false},{"cve":"CVE-2025-69725","published":"2026-02-19","fixed":"5.2.4","kev":false},{"cve":"CVE-2026-122132","published":"2026-11-04","fixed":"5.2.4","kev":false,"link":{"from":"CVE-2025-71405","to":"CVE-2026-122132","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-chi/chi/v5","fromFixed":"5.2.2","toFixed":"5.2.4","daysApart":82},{"kind":"similar","provenance":"machine","score":0.36,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-72815","published":"2026-08-14","fixed":"5.3.0","kev":false}],"package":"Go:github.com/go-chi/chi/v5"}}