CVE-2026-114437
MEDIUM 6.3CVSS 4.0chi: Client IP spoofing in ClientIPFromXFF via X-Forwarded-For
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.
- Published
- 21 Oct 2026
- Last modified
- 23 Oct 2026
- Assigned by
- vulnreport@tenable.com
- NVD status
- Deferred
- Weakness
- CWE-345CWE-348
- Also known as
- GHSA-j6qf-3m9c-vwj3
- Sources
- NVDJSONOSV GHSA-j6qf-3m9c-vwj3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | vulnreport@tenable.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | vulnreport@tenable.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/go-chi/chi/v5 | < 5.4.0 | 5.4.0 |
References
- https://github.com/go-chi/chi/security/advisories/GHSA-j6qf-3m9c-vwj3 · WEB
- https://www.tenable.com/security/research/tra-2026-66 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-114437 · ADVISORY
- https://github.com/go-chi/chi/pull/1214 · WEB
- https://github.com/go-chi/chi/commit/7f9b7448f51d28804fac98c0a17bc2a7cec1079f · WEB
- https://github.com/go-chi/chi · PACKAGE
- https://github.com/go-chi/chi/releases/tag/v5.4.0 · WEB
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 21 Oct 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Oct 2026)