go-chi chi 5.2.2 through 5.5.0 Open Redirect via RedirectSlashes Middleware
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 4, 2026
- Updated
- Nov 5, 2026
- Reserved
- Nov 4, 2026
Description
go-chi chi 5.2.2 through 5.5.0 contains an open redirect vulnerability in the RedirectSlashes middleware that allows attackers to redirect victims to external hosts by embedding tab characters in request paths. Attackers can craft links with a URL-encoded tab, which browsers strip from the 301 Location header and resolve as a protocol-relative URL, bypassing the fix for CVE-2025-69725.
| Product | Versions |
|---|---|
| chi go-chi | 5.2.2 through 5.5.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | VulnCheck | |
| 3.1 | 6.1 Medium | VulnCheck |
Weaknesses
- CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
References
- Pull Request #1238Issue TrackerPatch
- https://github.com/go-chi/chiProduct Page
- GitHub Security Advisory (GHSA-mqqf-5wvp-8fh8)RelatedVendor Advisory
- https://github.com/go-chi/chi/blob/v5.5.0/middleware/strip.go#L41-L69Technical Details
- VulnCheck Advisory: go-chi chi 5.2.2 through 5.5.0 Open Redirect via RedirectSlashes MiddlewareThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.