Bug 2515993 (CVE-2025-71405)

Summary: CVE-2025-71405 github.com/go-chi/chi: go-chi/chi: Open Redirect vulnerability via RedirectSlashes middleware
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: akhatavk, anthomas, aos-team-art-private, aruklets, asdas, dfreiber, dhanak, doconnor, dpaolell, drosa, drow, dsimansk, eborisov, ehelms, gbenhaim, ggainey, gparvin, jburrell, jcantril, jdelft, jpasqual, jsamir, jupierce, juwatts, kaycoth, kingland, lball, lgarciaa, mbiarnes, mdellweg, mhulan, mnovotny, mwringe, ngough, niyer, nmoumoul, osousa, pcreech, ppalepu, ppostler, prdhamdh, rchan, rhaigner, rhel-process-autobot, rochandr, rojacob, sausingh, sdawley, sghai, sidsharm, smallamp, suppawar, tmalecek, twaugh, veshanka, vkumar, vlaad, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in go-chi/chi. The `RedirectSlashes` middleware function incorrectly uses the Host header to build redirect URLs. A remote attacker can manipulate the Host header to redirect users to arbitrary malicious websites. This can lead to phishing attacks and credential theft.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-08-14 12:00:29 UTC
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.