CVE-2025-71405Published Aug 14, 2026 · Aug 14Updated Oct 28
go-chi chi before v5.2.2 Open Redirect via RedirectSlashes
go-chi chi
Medium5.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/go-chi/chi/v5 Go |
|
|
Original description
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.
From the CVE record · VulnCheck