Vulnerability 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 controls or falsifying request logs.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/go-chi/chi/security/advisories/GHSA-9g5q-2w5x-hmxf
- https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-x-forward
FAQ
What is CVE-2026-72817?
CVE-2026-72817 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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-F...
How severe is CVE-2026-72817?
CVE-2026-72817 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-72817?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.