ADVISORIES

Go Vulnerability Database

GO-2026-5777

Chi's RealIP Middleware allows IP spoofing via unvalidated X-Forwarded-For header in github.com/go-chi/chi

Details

Chi's RealIP Middleware allows IP spoofing via unvalidated X-Forwarded-For header in github.com/go-chi/chi

Affected packages

EcosystemPackageAffected versions
Gogithub.com/go-chi/chi/v5
All versions before 5.3.0 (fixed in 5.3.0)

References