CVE-2025-71405: go-chi chi before v5.2.2 Open Redirect via RedirectSlashes

Published Aug 14, 2026
·
Updated

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.

Affected Software

1 affected component
chi<5.2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade chi to a version that resolves this vulnerability.

    Fixed in v5.2.2Patch go-chi chi before v5.2.2 Open Redirect via RedirectSlashes

Event History

Aug 14, 2026
CVE Published
via MITRE·11:35 AM
Data Sourced
via MITRE·11:35 AM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-71405?

The severity of CVE-2025-71405 is rated at 37, indicating a significant risk for systems using affected versions of chi.

2

How do I fix CVE-2025-71405?

To fix CVE-2025-71405, upgrade chi to version 5.2.2 or later where the vulnerability has been resolved.

3

What type of vulnerability is CVE-2025-71405?

CVE-2025-71405 is an open redirect vulnerability that can be exploited to redirect users to arbitrary malicious websites.

4

Who is affected by CVE-2025-71405?

Any application using chi versions before 5.2.2 is affected by CVE-2025-71405.

5

What can attackers do with CVE-2025-71405?

Attackers can exploit CVE-2025-71405 to redirect users, facilitating phishing and potentially stealing user credentials.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203