go-chi chi before v5.2.2 Open Redirect via RedirectSlashes
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-601.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| go-chi | chi | before 5.2.2 | 5.2.2 | Patch available | CNA |
| — | github.com/go-chi/chi/v5 (Go) | before 5.2.2 | 5.2.2 | Patch available | GHSA-vrw8-fxc6-2r93 |
- chi Vendorgo-chi Affected before 5.2.2 Fixed in 5.2.2 Patch available CNA
- github.com/go-chi/chi/v5 (Go) Vendor— Affected before 5.2.2 Fixed in 5.2.2 Patch available GHSA-vrw8-fxc6-2r93
Remediation
- Fix · CNA chi (go-chi) Fixed in 5.2.2
- Fix · GHSA-vrw8-fxc6-2r93 github.com/go-chi/chi/v5 (Go) Fixed in 5.2.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 15 products
- Logging Subsystem for Red Hat OpenShift
- Multicluster Engine for Kubernetes
- OpenShift Pipelines
- OpenShift Serverless
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
- Red Hat OpenShift Dev Spaces
- Red Hat OpenShift distributed tracing 3
- Red Hat Quay 3
- Red Hat Satellite 6
- Red Hat Trusted Artifact Signer
- Red Hat Web Terminal
- Zero Trust Workload Identity Manager - Tech Preview
Timeline
- 2026-10-02 Threatist record created from CVE-2025-71405
- 2026-10-03 Alias added: GHSA-vrw8-fxc6-2r93
- 2026-10-30 Affected versions changed · Red Hat
References
More go-chi vulnerabilities
- TI-2026-51042 go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware CVSS 4.0MEDIUM 6.9
- TI-2026-51041 go-chi chi v5.2.1 IP Spoofing via X-Forwarded-For Header CVSS 4.0MEDIUM 6.9
- TI-2026-82170 Authentication bypass in go-chi chi SupressNotFound middleware CVSS 4.0MEDIUM 6.3
- TI-2026-78796 Client IP spoofing in Go chi ClientIPFromXFF middleware CVSS 4.0MEDIUM 6.3
- TI-2026-85173 Open redirect in go-chi chi RedirectSlashes middleware CVSS 4.0MEDIUM 5.1
- TI-2026-51043 go-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-For CVSS 4.0MEDIUM 6.9
Sources
- CVE-2025-71405 · CVE Program
- CVE-2025-71405 · NVD
- FIRST EPSS
- GHSA-vrw8-fxc6-2r93 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-71405 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences