LowGO-2026-5774CVE-2026-72815GHSA-3fxj-6jh8-hvhx
Chi has an IP spoofing vulnerability in middleware.RealIP in github.com/go-chi/chi
Published 24 Jul 2026 · 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.3.0
- Fixed in
- 5.3.0
Update to the fixed version for your release line, for example:
go get github.com/go-chi/chi/v5@v5.3.0Details
Chi has an IP spoofing vulnerability in middleware.RealIP in github.com/go-chi/chi
Is GO-2026-5774 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-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
- LowCVE-2025-69725Open redirect vulnerability in the RedirectSlashes middleware in github.com/go-chi/chi · 23 Jan 2026
- MediumCVE-2025-69725chi has an open redirect vulnerability in the RedirectSlashes middleware · 14 Jan 2026
- LowCVE-2025-71405Host header injection which leads to open redirect in RedirectSlashes in github.com/go-chi/chi · 21 Jul 2025
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.