{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-72817","id":"CVE-2026-72817","title":"go-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-For","description":"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 c","descriptionLong":"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.","published":"2026-08-14T11:35:28.824Z","updated":"2026-10-28T02:30:33.773884778Z","reserved":"2026-08-10T15:12:16.754Z","status":"Deferred","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"VulnCheck"},"metrics":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"VulnCheck"},{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/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","rating":"medium","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","rating":"high","source":"GitHub"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"VulnCheck"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"vulncheck.com"}],"rating":"medium","products":["go-chi chi"],"affectedProducts":[{"vendor":"go-chi","product":"chi","defaultStatus":"unaffected","versions":[{"version":"0.9.0","status":"affected","versionType":"semver","lessThan":"5.3.0"},{"version":"5.3.0","status":"unaffected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/go-chi/chi/middleware","purl":"pkg:golang/github.com/go-chi/chi/middleware","ranges":[">=0.9.0 <=1.5.5"],"fixed":[],"advisory":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","name":"github.com/go-chi/chi/v2/middleware","purl":"pkg:golang/github.com/go-chi/chi/v2/middleware","ranges":["<=2.1.1"],"fixed":[],"advisory":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","name":"github.com/go-chi/chi/v3/middleware","purl":"pkg:golang/github.com/go-chi/chi/v3/middleware","ranges":["<=3.3.5"],"fixed":[],"advisory":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","name":"github.com/go-chi/chi/v4/middleware","purl":"pkg:golang/github.com/go-chi/chi/v4/middleware","ranges":["<=4.1.3"],"fixed":[],"advisory":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","name":"github.com/go-chi/chi/v5/middleware","purl":"pkg:golang/github.com/go-chi/chi/v5/middleware","ranges":["<5.3.0"],"fixed":["5.3.0"],"advisory":"GHSA-9g5q-2w5x-hmxf"},{"ecosystem":"Go","name":"github.com/go-chi/chi/v5","purl":"pkg:golang/github.com/go-chi/chi/v5","ranges":["<5.3.0"],"fixed":["5.3.0"],"advisory":"GO-2026-5775"}],"cwes":["CWE-345","CWE-346"],"aliases":["GHSA-9g5q-2w5x-hmxf","GO-2026-5775"],"references":[{"url":"https://github.com/go-chi/chi/security/advisories/GHSA-9g5q-2w5x-hmxf","tags":["vendor-advisory","advisory","web"]},{"url":"https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-x-forwarded-for","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72817.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72817","tags":["advisory"]},{"url":"https://github.com/go-chi/chi","tags":["package"]},{"url":"https://github.com/go-chi/chi/releases/tag/v5.3.0","tags":["web"]},{"url":"https://github.com/go-chi/chi/pull/967","tags":["fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00242,"epssPercentile":0.15646,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-72817","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72817","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-72817","ok":true,"note":"6 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9g5q-2w5x-hmxf","ok":true,"note":"GHSA-9g5q-2w5x-hmxf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-72817","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}