CVE-2026-72817

published 14 Aug 2026 · updated 16 Nov 2026

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

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.3.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
go-chi>=0.9.0 <5.3.05.3.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-72817 severity on Zeptric[![CVE-2026-72817](https://zeptric.io/badge/cve/CVE-2026-72817.svg)](https://zeptric.io/cve/CVE-2026-72817)