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.
References
Configurations
No configuration.
History
21 Oct 2026, 14:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-21 14:17
Updated : 2026-10-21 18:17
NVD link : CVE-2026-114437
Mitre link : CVE-2026-114437
CVE.ORG link : CVE-2026-114437
JSON object : View
Products Affected
No product.
CWE
CWE-348
Use of Less Trusted Source
