Go Chi Chi vulnerabilities

8 vulnerabilities

Known vulnerabilities in Go Chi Chi, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-122132go-chi · chigo-chi chi 5.2.2 through 5.5.0 Open Redirect via RedirectSlashes Middlewarego-chi chi 5.2.2 through 5.5.0 contains an open redirect vulnerability in the RedirectSlashes middleware that allows attackers to redirect victims to external hosts by embedding tab characters in request paths. Attackers can craft links with a URL-encoded tab, which browsers strip from the 301 Location header and resolve as a protocol-relative URL, bypassing the fix for CVE-2025-69725.CVSS6.1MediumEPSS0.38%RoutineCVE-2025-69725go-chi · chi +86 morego-chi chi 5.2.2 through 5.5.0 Open Redirect via RedirectSlashes Middlewarego-chi chi 5.2.2 through 5.5.0 contains an open redirect vulnerability in the RedirectSlashes middleware that allows attackers to redirect victims to external hosts by embedding tab characters in request paths. Attackers can craft links with a URL-encoded tab, which browsers strip from the 301 Location header and resolve as a protocol-relative URL, bypassing the fix for CVE-2025-69725.CVSS6.1MediumEPSS0.26%RoutineCVE-2026-118681go-chi · chi +2 morego-chi chi before 5.5.0 Authentication Bypass via SupressNotFound Middlewarego-chi chi before 5.5.0 contains an authentication bypass in middleware.SupressNotFound, which calls Match with the live routing context and leaves a mounted router's parameter and child suffix in place for dispatch against the outer router. Unauthenticated attackers can request a mounted path whose suffix matches an outer public route, skipping the mounted authentication middleware and retrieving tenant-scoped data when that outer handler trusts the retained mount parameter.CVSS6.3MediumEPSS0.38%RoutineCVE-2026-114437go-chi · chi +290 moreChi Client IP Spoofing in ClientIPFromXFF via X-Forwarded-ForIn the Golang Chi web framework, the ClientIPFromXFF middleware skips any X-Forwarded-For entry in a configured trusted CIDR but never verifies that the direct TCP peer in http.Request.RemoteAddr belongs to that CIDR. A client that can reach the Go server directly can therefore append a trusted-looking proxy address and choose the client IP returned by middleware.GetClientIP. This issue affects chi before 5.4.0.CVSS6.3MediumEPSS0.13%RoutineCVE-2026-72817go-chi · chi +10 morego-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-Forgo-chi/chi versions 0.9.0 before 5.3.0 contains an IP spoofing vulnerability in the RealIP middleware, which resolves the request source IP (Request.RemoteAddr) using the first IP in the X-Forwarded-For header without validating trusted proxies. A malicious client can prepend a forged IP as the first value of the X-Forwarded-For header to spoof the request source IP, potentially bypassing access controls or falsifying request logs.CVSS6.9MediumEPSS0.15%RoutineCVE-2026-72816go-chi · chi +8 morego-chi chi before 5.3.0 IP Spoofing via RealIP Middlewarego-chi/chi through 5.2.1 contains an IP spoofing vulnerability in the RealIP middleware (middleware/realip.go). The realIP() function reads client-controlled headers (True-Client-IP, X-Real-IP, and X-Forwarded-For) and overwrites r.RemoteAddr without verifying that the request originated from a trusted proxy. Attackers can supply arbitrary IP addresses in these headers to bypass IP-based access controls, evade rate limiting and geo-IP restrictions, and pollute audit logs. Fixed in 5.3.0.CVSS6.9MediumEPSS0.27%RoutineCVE-2026-72815go-chi · chi +5 morego-chi chi v5.2.1 IP Spoofing via X-Forwarded-For Headergo-chi chi versions >= 5.2.1 and before 5.3.0 contain an IP spoofing vulnerability in the RealIP middleware, which blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header. A remote attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, by supplying a spoofed IP address in the X-Forwarded-For header. The issue is fixed in version 5.3.0.CVSS6.9MediumEPSS0.50%RoutineCVE-2025-71405go-chi · chi +104 morego-chi chi before v5.2.2 Open Redirect via RedirectSlasheschi 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.CVSS5.1MediumEPSS0.39%