CVE-2026-114437

Medium

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.

SeverityMedium
CVSS4.8
Exploit probability—
ProductGithub.com/go-chi/chi/v5
PublishedOct 21, 2026
First seenOct 21, 2026
Weakness typeCWE-348CWE-348

How to fix

Update
  • github.com/go-chi/chi/v55.4.0 or later

Affected products

ProductAffected versionsFixed in
github.com/go-chi/chi/v5Gov < 5.4.05.4.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.