LowGO-2025-3770CVE-2025-71405GHSA-vrw8-fxc6-2r93
Host header injection which leads to open redirect in RedirectSlashes in github.com/go-chi/chi
Published 21 Jul 2025 · Updated 15 Aug 2026
Is your project on an affected github.com/go-chi/chi/v5?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- >=5.2.1 <5.2.2
- Fixed in
- 5.2.2
Update to the fixed version for your release line, for example:
go get github.com/go-chi/chi/v5@v5.2.2Details
Host header injection which leads to open redirect in RedirectSlashes in github.com/go-chi/chi
Is GO-2025-3770 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/go-chi/chi/v5, and gives you the command that fixes it.
More advisories for github.com/go-chi/chi/v5
- MediumCVE-2026-114437chi: Client IP spoofing in ClientIPFromXFF via X-Forwarded-For · 23 Oct 2026
- LowCVE-2026-72815Chi has an IP spoofing vulnerability in middleware.RealIP in github.com/go-chi/chi · 24 Jul 2026
- LowCVE-2026-72817Chi Middleware vulnerable to IP spoofing via X-Forwarded-For header in github.com/go-chi/chi · 24 Jul 2026
- LowCVE-2026-72816Chi's RealIP Middleware allows IP spoofing via unvalidated X-Forwarded-For header in github.com/go-chi/chi · 24 Jul 2026
- MediumCVE-2026-72815chi Has an IP Spoofing Vulnerability in `middleware.RealIP` · 25 Jun 2026
- LowCVE-2025-69725Open redirect vulnerability in the RedirectSlashes middleware in github.com/go-chi/chi · 23 Jan 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.