Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2026-72817

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

go-chi chi

Default version status: unaffected

  • 0.9.0 to < 5.3.0affected
  • 5.3.0unaffected
pkg:golang/github.com/go-chi/chi

References