CVE-2025-71405
published medium CVSS 4.0 · 5.1go-chi chi before v5.2.2 Open Redirect via RedirectSlashes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| go-chi | — | chi0 to < 5.2.2 (affected · semver) · 5.2.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| go-chi | chi | 0 to < 5.2.2 (affected · semver)5.2.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
References
2- GitHub Security Advisory (GHSA-vrw8-fxc6-2r93) https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93
- VulnCheck Advisory: go-chi chi before v5.2.2 Open Redirect via RedirectSlashes https://www.vulncheck.com/advisories/go-chi-chi-before-open-redirect-via-redirectslashes
Provider assertions
2VulnCheck · cna
go-chi chi before v5.2.2 Open Redirect via RedirectSlashes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a70bc72ed02fb827324b467e2adace386628dd9884f17dbb3435585844737c4d
- Ingested
- 09 Oct 2026, 16:22:05 UTC
- Source record
- Official CVE record