CVE-2026-72817 PUBLISHED

go-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-For

Assigner: VulnCheck
Reserved: 10.08.2026 Published: 14.08.2026 Updated: 14.08.2026

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.

Metrics

CVSS 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
CVSS Score: 6.9

Product Status

Vendor go-chi
Product chi
Versions Default: unaffected
  • affected from 0.9.0 to 5.3.0 (excl.)
  • Version 5.3.0 is unaffected

Credits

  • convto reporter

References

Problem Types

  • Insufficient Verification of Data Authenticity CWE