Bug 2577550

Summary: CVE-2026-114437 caddy: chi: client IP spoofing via unverified direct connection in ClientIPFromXFF middleware [fedora-all]
Product: [Fedora] Fedora Reporter: Carl George 🤠 <carlwgeorge>
Component: caddyAssignee: Carl George 🤠 <carlwgeorge>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: carlwgeorge, extras-qa, go-sig, ngompa13, rdey
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["0f1ff5ab-2b87-4e8d-8972-362450f8aa7a"]}
Fixed In Version: caddy-2.10.2-10.fc44 caddy-2.11.9-1.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: 2558812 Environment:
Last Closed: 2026-11-30 01:41:56 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: 2558305    

Description Carl George 🤠 2026-11-20 04:12:27 UTC
+++ This bug was initially created as a clone of Bug #2558812 +++

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.

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.

Comment 1 Fedora Update System 2026-11-21 05:16:13 UTC
FEDORA-2026-aec084f8c5 (caddy-2.11.9-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-aec084f8c5

Comment 2 Fedora Update System 2026-11-21 05:17:55 UTC
FEDORA-2026-e75b8af47a (caddy-2.10.2-10.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e75b8af47a

Comment 3 Fedora Update System 2026-11-22 02:19:59 UTC
FEDORA-2026-aec084f8c5 has been pushed to the Fedora 45 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-aec084f8c5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-aec084f8c5

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

Comment 4 Fedora Update System 2026-11-22 02:49:40 UTC
FEDORA-2026-e75b8af47a 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-e75b8af47a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-e75b8af47a

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

Comment 5 Fedora Update System 2026-11-30 01:41:56 UTC
FEDORA-2026-e75b8af47a (caddy-2.10.2-10.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-11-30 01:47:36 UTC
FEDORA-2026-aec084f8c5 (caddy-2.11.9-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.