Bug 2518198

Summary: CVE-2026-72817 opkssh: go-chi/chi: IP spoofing via X-Forwarded-For header manipulation [fedora-all]
Product: [Fedora] Fedora Reporter: Joel Chamberlain <jochambe>
Component: opksshAssignee: Till Hofmann <thofmann>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: go-sig, thofmann
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["b6bccb8f-a266-470a-b845-091a4c96440a"]}
Fixed In Version: opkssh-0.16.0-2.fc43 opkssh-0.16.0-2.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-31 16:59:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2516008    

Description Joel Chamberlain 2026-08-18 19:42:10 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.

Comment 1 Fedora Update System 2026-08-19 08:38:24 UTC
FEDORA-2026-f5a5073561 (opkssh-0.16.0-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-f5a5073561

Comment 2 Fedora Update System 2026-08-19 08:39:15 UTC
FEDORA-2026-8d9ba295e0 (opkssh-0.16.0-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-8d9ba295e0

Comment 3 Fedora Update System 2026-08-20 16:39:28 UTC
FEDORA-2026-f5a5073561 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-f5a5073561`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-f5a5073561

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-08-20 16:40:04 UTC
FEDORA-2026-8d9ba295e0 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-8d9ba295e0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8d9ba295e0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-08-31 16:59:21 UTC
FEDORA-2026-8d9ba295e0 (opkssh-0.16.0-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-08-31 17:15:45 UTC
FEDORA-2026-f5a5073561 (opkssh-0.16.0-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.