CVE-2026-114437
Chi Client IP Spoofing in ClientIPFromXFF via X-Forwarded-For
CVSS Score
4.8
EPSS Score
0.0%
EPSS Percentile
0th
In 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.
| CWE | CWE-348 |
| Vendor | go-chi |
| Product | chi |
| Published | Oct 21, 2026 |
Stay Ahead of the Next One
Get instant alerts for go-chi chi
Be the first to know when new medium vulnerabilities affecting go-chi chi are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
go-chi / chi
0 < 5.4.0
References
Credits
Joshua Martinelle