{"id":"CVE-2026-114437","summary":"Chi Client IP Spoofing in ClientIPFromXFF via X-Forwarded-For","details":"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.\n\nThis issue affects chi before 5.4.0.","aliases":["GHSA-j6qf-3m9c-vwj3"],"modified":"2026-10-22T02:48:52.011456465Z","published":"2026-10-21T13:52:25.617Z","database_specific":{"cna_assigner":"tenable","cwe_ids":["CWE-348"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114437.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114437.json"},{"type":"ADVISORY","url":"https://github.com/go-chi/chi/security/advisories/GHSA-j6qf-3m9c-vwj3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114437"},{"type":"WEB","url":"https://pkg.go.dev"},{"type":"WEB","url":"https://www.tenable.com/security/research/tra-2026-66"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/go-chi/chi","events":[{"introduced":"0"},{"fixed":"7f9b7448f51d28804fac98c0a17bc2a7cec1079f"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"5.4.0"}]}]}}],"versions":["v5.3.2","v5.3.1","v5.3.0","v5.2.5","v5.2.4","v5.2.3","v5.2.2","v5.2.1","v5.2.0","v5.1.0","v5.0.14","v5.0.13","v5.0.12","v5.0.11","v4.1.2","v3.3.4","v2.1.0","v1.5.4","v5.0.10","v5.0.9","v5.0.8","v5.0.7","v5.0.6","v5.0.5","v5.0.4","v5.0.3","v5.0.2","v5.0.1","v5.0.0","v1.5.3","v1.5.2","v1.5.1","v4.1.1","v4.1.0","v4.0.4","v4.0.3","v4.0.2","v4.0.1","v4.0.0","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v3.2.1","v3.2.0","v3.1.5","v3.1.4","v3.1.3","v3.1.2","v3.1.1","v3.1.0","v3.0.0","v2.0.0","v1.0.0","v0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114437.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}]}