CVE-2025-71405
MEDIUM 5.1CVSS 4.0chi Allows Host Header Injection which Leads to Open Redirect in RedirectSlashes
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.
- Published
- 14 Aug 2026
- Last modified
- 8 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-601
- Also known as
- GHSA-vrw8-fxc6-2r93GO-2025-3770
- Sources
- NVDJSONOSV GHSA-vrw8-fxc6-2r93JSONOSV GO-2025-3770JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 5.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/go-chi/chi/v5 | < 5.2.2 | 5.2.2 |
| OSV | Go | github.com/go-chi/chi/v5 | >= 5.2.1, < 5.2.2 | 5.2.2 |
References
- https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93 · WEB, ADVISORY
- https://www.vulncheck.com/advisories/go-chi-chi-before-open-redirect-via-redirectslashes · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-71405 · ADVISORY
- https://github.com/go-chi/chi/commit/1be7ad938cc9c5b39a9dea01a5c518848928ab65 · WEB, FIX
- https://github.com/go-chi/chi · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 14 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Jul 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Jun 2025)