Medium severity · published Aug 14, 2026
CVE-2026-72815
go-chi chi v5.2.1 IP Spoofing via X-Forwarded-For Header
6.9
CVSS
0.5%
EPSS
No
On KEV
Description
go-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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CH
chi · go-chi
5.2.1 before 5.3.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-72815
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-72815
vendor-advisory
https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx
third-party-advisory
https://www.vulncheck.com/advisories/go-chi-chi-ip-spoofing-via-x-forwarded-for-header
More from chi
6.5
CVE-2026-72817
go-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-For
6.5
CVE-2026-72816
go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware
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
