NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

GHSA-xcvf-46f4-xwxf: Duplicate Advisory: chi Allows Host Header Injection which Leads to Open Redirect in RedirectSlashes

mediumCVSS 4.0 5.1

This advisory was withdrawn on Oct 2, 2026. The publisher no longer considers it a valid vulnerability.

Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-vrw8-fxc6-2r93. This link is maintained to preserve external references. 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.

Published Aug 14, 2026 · Updated Oct 2, 2026

Affected packages

github.com/go-chi/chi

Ecosystem
Go
Affected
<= 5.2.1
Fixed in
No patched version yet
Check
go list -m github.com/go-chi/chi

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-vrw8-fxc6-2r93. This link is maintained to preserve external references.

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology