Bug 2516008 (CVE-2026-72817) - CVE-2026-72817 github.com/go-chi/chi/middleware: go-chi/chi: IP spoofing via X-Forwarded-For header manipulation
Summary: CVE-2026-72817 github.com/go-chi/chi/middleware: go-chi/chi: IP spoofing via ...
Keywords:
Status: NEW
Alias: CVE-2026-72817
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: 2518171 2518173 2518174 2518175 2518176 2518177 2518178 2518184 2518187 2518189 2518190 2518192 2518196 2518197 2518198 2518199 2518200 2518201 2518202 2518203 2518180 2518181 2518195 2518204
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-14 12:02 UTC by OSIDB Bzimport
Modified: 2026-08-18 19:42 UTC (History)
73 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-14 12:02:45 UTC
go-chi/chi versions 0.9.0 before 5.3.0 contains an IP spoofing vulnerability in the RealIP middleware, which resolves the request source IP (Request.RemoteAddr) using the first IP in the X-Forwarded-For header without validating trusted proxies. A malicious client can prepend a forged IP as the first value of the X-Forwarded-For header to spoof the request source IP, potentially bypassing access controls or falsifying request logs.


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