{"id":"GHSA-7cgw-qmxx-7fc2","summary":"Duplicate Advisory: chi: Client IP spoofing in ClientIPFromXFF via X-Forwarded-For","details":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-j6qf-3m9c-vwj3. This link is maintained to preserve external references.\n\n## Original Description\nIn 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.","modified":"2026-10-23T21:15:03.744165797Z","published":"2026-10-21T15:42:31Z","withdrawn":"2026-10-23T20:56:29Z","database_specific":{"cwe_ids":["CWE-348"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-10-23T20:56:29Z","nvd_published_at":"2026-10-21T14:17:14Z"},"references":[{"type":"WEB","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://www.tenable.com/security/research/tra-2026-66"}],"affected":[{"package":{"name":"github.com/go-chi/chi/v5","ecosystem":"Go","purl":"pkg:golang/github.com/go-chi/chi/v5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"5.3.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-7cgw-qmxx-7fc2/GHSA-7cgw-qmxx-7fc2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}