{"cve":"CVE-2026-72815","nvd":{"published":"2026-08-14T12:16:44.507","modified":"2026-10-08T16:17:35.650","status":"Deferred","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.","cvss_v4":{"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","score":6.9},"cvss_v3":null,"cwes":["CWE-290"],"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","https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:48:17.459049833+00:00"},"epss":{"cve":"CVE-2026-72815","score":0.00495,"percentile":0.42158,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-3fxj-6jh8-hvhx","url":"https://osv.dev/vulnerability/GHSA-3fxj-6jh8-hvhx","summary":"chi Has an IP Spoofing Vulnerability in `middleware.RealIP`","modified":"2026-09-10T03:50:55.280697424Z","packages":[{"ecosystem":"Go","name":"github.com/go-chi/chi/v5/middleware","purl":"pkg:golang/github.com/go-chi/chi/v5/middleware","ranges":[">=5.2.1 <5.3.0"],"fixed":["5.3.0"]}]},{"id":"GO-2026-5774","url":"https://osv.dev/vulnerability/GO-2026-5774","summary":"Chi has an IP spoofing vulnerability in middleware.RealIP in github.com/go-chi/chi","modified":"2026-08-15T05:18:57.642465257Z","packages":[{"ecosystem":"Go","name":"github.com/go-chi/chi/v5","purl":"pkg:golang/github.com/go-chi/chi/v5","ranges":[">=5.2.1 <5.3.0"],"fixed":["5.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}