Vulnerability 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.
Related Weaknesses (CWE)
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-
- https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx
FAQ
What is CVE-2026-72815?
CVE-2026-72815 is a documented vulnerability. 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 remot...
How severe is CVE-2026-72815?
CVSS scoring is not yet available for CVE-2026-72815. Check NVD for updates.
Is there a patch for CVE-2026-72815?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.