GHSA-7cgw-qmxx-7fc2: Duplicate Advisory: chi: Client IP spoofing in ClientIPFromXFF via X-Forwarded-For
This advisory was withdrawn on Oct 23, 2026. The publisher no longer considers it a valid vulnerability.
Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-j6qf-3m9c-vwj3. This link is maintained to preserve external references. Original Description In the Golang Chi web framework, the ClientIPFromXFF middleware skips any X-Forwarded-For entry in a configured trusted CIDR but never verifies that the direct TCP peer in http.Request.RemoteAddr belongs to that CIDR.
Published Oct 21, 2026 · Updated Oct 23, 2026
Affected packages
github.com/go-chi/chi/v5
- Ecosystem
- Go
- Affected
- <= 5.3.2
- Fixed in
- No patched version yet
- Check
go list -m github.com/go-chi/chi/v5
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-j6qf-3m9c-vwj3. This link is maintained to preserve external references.
Original Description
In the Golang Chi web framework, the ClientIPFromXFF middleware skips any X-Forwarded-For entry in a configured trusted CIDR but never verifies that the direct TCP peer in http.Request.RemoteAddr belongs to that CIDR. A client that can reach the Go server directly can therefore append a trusted-looking proxy address and choose the client IP returned by middleware.GetClientIP.
This issue affects chi before 5.4.0.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-114437
chi: Client IP spoofing in ClientIPFromXFF via X-Forwarded-For
medium4.8Oct 23, 2026GHSA-3fxj-6jh8-hvhx
chi Has an IP Spoofing Vulnerability in `middleware.RealIP`
medium6.9Jun 25, 2026CVE-2025-69725
chi has an open redirect vulnerability in the RedirectSlashes middleware
medium4.7Jan 14, 2026CVE-2025-71405
chi Allows Host Header Injection which Leads to Open Redirect in RedirectSlashes
medium5.1Jun 20, 2025
