Medium severity · published Aug 14, 2026
CVE-2026-72816
go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware
6.5
CVSS
0.3%
EPSS
No
On KEV
Description
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 23% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CH
chi · go-chi
before 5.3.0 · source: vendor
Affected product
CH
chi
go-chi
More from chi
6.9
CVE-2026-72815
go-chi chi v5.2.1 IP Spoofing via X-Forwarded-For Header
6.5
CVE-2026-72817
go-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-For
5.1
CVE-2025-71405
go-chi chi before v5.2.2 Open Redirect via RedirectSlashes
4.8
CVE-2026-114437
Chi Client IP Spoofing in ClientIPFromXFF via X-Forwarded-For