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.
{
"cna_assigner": "tenable",
"cwe_ids": [
"CWE-348"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114437.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "5.4.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}