{"id":"CVE-2026-114437","revision":"d416bf2ecc24468fbcf843594c881b5e","records":[{"revision":"d416bf2ecc24468fbcf843594c881b5e","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-114437","aliases":[],"title":"Chi Client IP Spoofing in ClientIPFromXFF via X-Forwarded-For","description":"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.","state":0,"publishedAt":"2026-10-21T13:52:25.617+00:00","modifiedAt":"2026-10-21T17:19:13.809+00:00","affected":[{"ecosystem":"https://pkg.go.dev","name":"github.com/go-chi/chi/v5","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"go-chi\",\n                    \"product\": \"chi\",\n                    \"collectionURL\": \"https://pkg.go.dev\",\n                    \"packageName\": \"github.com/go-chi/chi/v5\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.4.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"severity":"MEDIUM"},{"system":"CVSS 4.0","vector":"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","score":6.3,"severity":"MEDIUM"}],"references":["https://www.tenable.com/security/research/tra-2026-66","https://github.com/go-chi/chi/security/advisories/GHSA-j6qf-3m9c-vwj3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-114437","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-114437","identifiers":["CVE-2026-114437"]},"retained":false,"historicalAffected":[]}],"coverage":[]}