CVE-2026-114437

NameCVE-2026-114437
DescriptionIn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-go-chi-chi (PTS)bookworm5.0.7-1vulnerable
trixie5.2.0-1vulnerable
forky, sid5.3.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-go-chi-chisource(unstable)(unfixed)

Notes

[trixie] - golang-github-go-chi-chi <no-dsa> (Minor issue)
https://github.com/go-chi/chi/security/advisories/GHSA-j6qf-3m9c-vwj3

Search for package or bug name: Reporting problems