CVE-2025-71405go-chi chi
Medium 5.1 No auth needed
Follow: this CVE · go-chi · go-chi chi We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 4.0
- 5.1
- EPSS
- —
- Auth required
- No
- Published
- Aug 14, 2026
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for chi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/go-chi/chi/v5 |
< 5.2.2 |
5.2.2 |
go get github.com/go-chi/chi/v5@v5.2.2 |
| Go | github.com/go-chi/chi/v5 |
≥ 5.2.1 < 5.2.2 |
5.2.2 |
go get github.com/go-chi/chi/v5@v5.2.2 |
Per OSV / GitHub Advisories (GHSA-vrw8-fxc6-2r93, GO-2025-3770). Check the version in your lockfile before upgrading.
Affected products
- go-chi · chi
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.