Bug 2518197 - CVE-2026-72817 golang-github-chi: go-chi/chi: IP spoofing via X-Forwarded-For header manipulation [fedora-all]
Summary: CVE-2026-72817 golang-github-chi: go-chi/chi: IP spoofing via X-Forwarded-For...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: golang-github-chi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["b6bccb8f-a266-470a-b845-0...
Depends On:
Blocks: CVE-2026-72817
TreeView+ depends on / blocked
 
Reported: 2026-08-18 19:42 UTC by Joel Chamberlain
Modified: 2026-08-18 19:42 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Joel Chamberlain 2026-08-18 19:42:02 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.