CVE-2025-71405
Received Received - Intake

Open Redirect in Go-Chi Framework

Vulnerability report for CVE-2025-71405, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-14

Last updated on: 2026-08-14

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-14
Last Modified
2026-08-14
Generated
2026-08-14
AI Q&A
2026-08-14
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
go-chi chi to 5.2.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-601 The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2025-71405 is an open redirect vulnerability in the RedirectSlashes middleware of the Go-Chi/Chi framework versions before v5.2.2. It occurs because the middleware uses the Host header to build redirect URLs, allowing attackers to manipulate this header to redirect users to arbitrary domains.

Detection Guidance

Check if your Go-Chi/Chi framework version is below v5.2.2 by running: go list -m github.com/go-chi/chi. Inspect middleware configuration for RedirectSlashes usage in your application code. Monitor HTTP response headers for unexpected redirects or unusual Host header values.

Impact Analysis

This vulnerability can be exploited for phishing attacks, credential theft, or malware distribution by tricking users into visiting malicious sites. Attackers manipulate the Host header to redirect users to attacker-controlled domains.

Mitigation Strategies

Upgrade the Go-Chi/Chi framework to version v5.2.2 or later. Replace r.Host with r.RequestURI in redirect logic. If host header usage is required, implement strict validation for allowed hosts. Review and update middleware configurations to remove vulnerable RedirectSlashes usage.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-71405. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart