CVE-2025-71405 PUBLISHED

go-chi chi before v5.2.2 Open Redirect via RedirectSlashes

Assigner: VulnCheck
Reserved: 18.07.2026 Published: 14.08.2026 Updated: 14.08.2026

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.

Metrics

CVSS 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
CVSS Score: 5.1

Product Status

Vendor go-chi
Product chi
Versions Default: unaffected
  • affected from 0 to 5.2.2 (excl.)
  • Version 5.2.2 is unaffected

Credits

  • anuraagbaishya reporter

References

Problem Types

  • URL Redirection to Untrusted Site ('Open Redirect') CWE