CVE-2026-72816: medium-severity vulnerability in go-chi chi
go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.9epss 0.3%
go-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.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Affected products
go-chi · chiRelated CVEs — go-chi chi
In the same product, most dangerous first.
CVE-2026-72815MEDIUMgo-chi chi v5.2.1 IP Spoofing via X-Forwarded-For HeaderEPSS 0.5%CVE-2025-71405MEDIUMgo-chi chi before v5.2.2 Open Redirect via RedirectSlashesEPSS 0.4%CVE-2026-118681MEDIUMgo-chi chi before 5.5.0 Authentication Bypass via SupressNotFound MiddlewareEPSS 0.2%CVE-2026-72817MEDIUMgo-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-ForEPSS 0.2%CVE-2026-114437MEDIUMChi Client IP Spoofing in ClientIPFromXFF via X-Forwarded-ForEPSS 0.1%