{"id":"CVE-2026-72815","state":"PUBLISHED","title":"go-chi chi v5.2.1 IP Spoofing via X-Forwarded-For Header","description":"go-chi chi versions >= 5.2.1 and before 5.3.0 contain an IP spoofing vulnerability in the RealIP middleware, which blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header. A remote attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, by supplying a spoofed IP address in the X-Forwarded-For header. The issue is fixed in version 5.3.0.","publishedAt":"2026-08-14T11:35:27.496Z","updatedAt":"2026-10-08T15:24:31.089Z","severity":{"score":6.9,"label":"Medium","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["go-chi chi"],"affected":[{"vendor":"go-chi","product":"chi","packageURL":"pkg:golang/github.com/go-chi/chi/v5","defaultStatus":"unaffected","versions":[{"version":"5.2.1","status":"affected","lessThan":"5.3.0","versionType":"semver"},{"version":"5.3.0","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx","https://www.vulncheck.com/advisories/go-chi-chi-ip-spoofing-via-x-forwarded-for-header"],"weaknesses":["CWE-290"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72815.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72815","state":"PUBLISHED","datePublished":"2026-08-14T11:35:27.496Z","dateUpdated":"2026-10-08T15:24:31.089Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-08-10T15:12:16.754Z"},"containers":{"cna":{"title":"go-chi chi v5.2.1 IP Spoofing via X-Forwarded-For Header","descriptions":[{"lang":"en","value":"go-chi chi versions >= 5.2.1 and before 5.3.0 contain an IP spoofing vulnerability in the RealIP middleware, which blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header. A remote attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, by supplying a spoofed IP address in the X-Forwarded-For header. The issue is fixed in version 5.3.0."}],"affected":[{"vendor":"go-chi","product":"chi","packageURL":"pkg:golang/github.com/go-chi/chi/v5","defaultStatus":"unaffected","versions":[{"version":"5.2.1","status":"affected","lessThan":"5.3.0","versionType":"semver"},{"version":"5.3.0","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-3fxj-6jh8-hvhx)"},{"url":"https://www.vulncheck.com/advisories/go-chi-chi-ip-spoofing-via-x-forwarded-for-header","name":"VulnCheck Advisory: go-chi chi v5.2.1 IP Spoofing via X-Forwarded-For Header","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-290","lang":"en","description":"Authentication Bypass by Spoofing","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-08T15:24:31.089Z"},"datePublic":"2026-05-22T00:00:00.000Z","credits":[{"lang":"en","value":"Saku0512","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-18T01:54:58.560637Z","id":"CVE-2026-72815","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-18T01:55:20.208Z"}}]}}}