{"id":"CVE-2026-72817","published":"2026-08-14T11:35:28Z","modified":"2026-10-08T15:24:32Z","title":"go-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-For","vendor":"go-chi","product":"chi","tier":"tail","description":{"text":"go-chi/chi versions 0.9.0 before 5.3.0 contains an IP spoofing vulnerability in the RealIP middleware, which resolves the request source IP (Request.RemoteAddr) using the first IP in the X-Forwarded-For header without validating trusted proxies. A malicious client can prepend a forged IP as the first value of the X-Forwarded-For header to spoof the request source IP, potentially bypassing access controls or falsifying request logs.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00242,"percentile":0.09237,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"references":[{"url":"https://github.com/go-chi/chi/security/advisories/GHSA-9g5q-2w5x-hmxf","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-x-forwarded-for","tags":["third-party-advisory"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":1.85},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"go-chi","affectedVersions":[{"vendor":"go-chi","product":"chi","versions":[">= 0.9.0, < 5.3.0"]}],"fixedVersions":[{"vendor":"go-chi","product":"chi","versions":["5.3.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-17T15:44:55.846871Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/go-chi/chi/v5","vulnerableRanges":["<5.3.0"],"patched":["5.3.0"],"from":["GO-2026-5775"],"provenance":"source"}],"summary":{"text":"The go-chi/chi router library, versions 0.9.0 before 5.3.0, has a flaw in its RealIP middleware, which determines the request's source IP from the first value in the X-Forwarded-For header without checking whether the sender is a trusted proxy. An attacker with network access and no authentication or user interaction can send a request with a forged IP prepended to X-Forwarded-For, spoofing the source address to bypass IP-based access controls or to falsify request logs.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:18Z"},"euvd":{"id":"EUVD-2026-58632","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-69725","published":"2026-02-19","fixed":"5.2.4","kev":false,"link":{"from":"CVE-2025-69725","to":"CVE-2026-72817","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-chi/chi/v5","fromFixed":"5.2.4","toFixed":"5.3.0","daysApart":176}]}},{"cve":"CVE-2026-122132","published":"2026-11-04","fixed":"5.2.4","kev":false},{"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"}}