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

- Severity: Medium 6.3 (CVSS:4.0, scored by tenable) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-10-21T13:52:25.617Z
- Modified: 2026-10-23T21:15:03.935Z
- Also known as: GHSA-j6qf-3m9c-vwj3
- Weaknesses: CWE-345, CWE-348
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: tenable

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

(As written by CVE List.)

## Affected

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

## Every score

- tenable: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- tenable: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://www.tenable.com/security/research/tra-2026-66> (web)
- <https://github.com/go-chi/chi/security/advisories/GHSA-j6qf-3m9c-vwj3> (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)

## Sources

- CVE List: [CVE-2026-114437](https://www.cve.org/CVERecord?id=CVE-2026-114437), CVE Terms of Use, modified 2026-10-21
- GitHub Advisory Database: [GHSA-j6qf-3m9c-vwj3](https://github.com/advisories/GHSA-j6qf-3m9c-vwj3), CC-BY-4.0, modified 2026-10-23
- NVD: [CVE-2026-114437](https://nvd.nist.gov/vuln/detail/CVE-2026-114437), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-114437 · Whole record: https://cve.day/CVE-2026-114437.json · Rebuilt by cve.day 2026-11-25T22:59:46.608Z
