CVE-2025-71405: URL Redirection to Untrusted Site ('Open Redirect') in go-chi chi
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.
AI Analysis
Technical Summary
CVE-2025-71405 is an open redirect vulnerability in the go-chi chi web framework affecting versions prior to v5.2.2. The issue is located in the RedirectSlashes middleware function, which improperly uses the Host header to build redirect URLs. An attacker can exploit this by manipulating the Host header to redirect users to arbitrary, potentially malicious hosts. This vulnerability can be leveraged for phishing and credential theft attacks. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required, user interaction required, and low impact on confidentiality and integrity.
Potential Impact
Successful exploitation allows attackers to redirect users to untrusted external sites, potentially enabling phishing attacks and theft of user credentials. The vulnerability does not require privileges or authentication but does require user interaction. The impact on confidentiality and integrity is low, and there are no known active exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should be cautious about relying on the RedirectSlashes middleware with untrusted input and consider implementing additional validation or controls on redirect URLs to prevent open redirects.
CVE-2025-71405: URL Redirection to Untrusted Site ('Open Redirect') in go-chi chi
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.
CVSS v4.0
Score 5.1medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-71405 is an open redirect vulnerability in the go-chi chi web framework affecting versions prior to v5.2.2. The issue is located in the RedirectSlashes middleware function, which improperly uses the Host header to build redirect URLs. An attacker can exploit this by manipulating the Host header to redirect users to arbitrary, potentially malicious hosts. This vulnerability can be leveraged for phishing and credential theft attacks. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required, user interaction required, and low impact on confidentiality and integrity.
Potential Impact
Successful exploitation allows attackers to redirect users to untrusted external sites, potentially enabling phishing attacks and theft of user credentials. The vulnerability does not require privileges or authentication but does require user interaction. The impact on confidentiality and integrity is low, and there are no known active exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should be cautious about relying on the RedirectSlashes middleware with untrusted input and consider implementing additional validation or controls on redirect URLs to prevent open redirects.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-18T12:38:41.077Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7f0282bf8831d539fec744
Added to database: 08/14/2026, 11:56:50 UTC
Last enriched: 08/14/2026, 12:31:40 UTC
Last updated: 08/15/2026, 01:48:37 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.