Bug 2558305 (CVE-2026-114437) - CVE-2026-114437 github.com/go-chi/chi: chi: client IP spoofing via unverified direct connection in ClientIPFromXFF middleware
Summary: CVE-2026-114437 github.com/go-chi/chi: chi: client IP spoofing via unverified...
Keywords:
Status: NEW
Alias: CVE-2026-114437
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2558812 2558813
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-21 14:03 UTC by OSIDB Bzimport
Modified: 2026-10-22 10:57 UTC (History)
59 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-21 14:03:34 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.