{"id":"CVE-2026-114437","published":"2026-10-21T13:52:25Z","modified":"2026-10-21T17:19:13Z","title":"Chi Client IP Spoofing in ClientIPFromXFF via X-Forwarded-For","vendor":"go-chi","product":"chi","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00135,"percentile":0.01447,"provenance":"source"},"cwes":[{"id":"CWE-348","name":"Use of Less Trusted Source"}],"references":[{"url":"https://www.tenable.com/security/research/tra-2026-66","tags":[]},{"url":"https://github.com/go-chi/chi/security/advisories/GHSA-j6qf-3m9c-vwj3","tags":[]}],"priority":{"score":3.6,"factors":[{"name":"EPSS percentile","points":0.29},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"go-chi","affectedVersions":[{"vendor":"go-chi","product":"chi","versions":["< 5.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-21T15:16:38.882767Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/go-chi/chi/v5","vulnerableRanges":["<5.4.0"],"patched":["5.4.0"],"from":["GHSA-j6qf-3m9c-vwj3"],"provenance":"source"}],"summary":{"text":"The ClientIPFromXFF middleware in the go-chi chi Go web framework trusts X-Forwarded-For entries that fall within a configured CIDR without checking that the direct TCP peer address is itself inside that trusted range. An attacker who can reach the Go server directly over the network, without needing authentication or any user interaction, can append a trusted-looking proxy address to the header and so control the client IP that middleware.GetClientIP returns, provided the deployment's configuration relies on this middleware for that value.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:11Z"},"euvd":{"id":"EUVD-2026-107261","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-go-chi-chi-cve-2026-72815","parents":[{"from":"CVE-2026-72815","to":"CVE-2026-114437","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-chi/chi/v5","fromFixed":"5.3.0","toFixed":"5.4.0","daysApart":68},{"kind":"same-code","provenance":"machine","files":["middleware/client_ip.go"],"commits":["https://github.com/go-chi/chi/commit/7f9b7448f51d28804fac98c0a17bc2a7cec1079f","https://github.com/go-chi/chi/commit/3b171578ca44dfd75ca3c5cbddc7b44c600a7b49"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-72815","published":"2026-08-14","fixed":"5.3.0","kev":false},{"cve":"CVE-2026-72816","published":"2026-08-14","fixed":"5.3.0","kev":false},{"cve":"CVE-2026-72817","published":"2026-08-14","fixed":"5.3.0","kev":false},{"cve":"CVE-2026-114437","published":"2026-10-21","fixed":"5.4.0","kev":false}],"package":"Go:github.com/go-chi/chi/v5"}}