Bug 2518049

Summary: CVE-2026-72815 prometheus: go-chi chi: IP spoofing via X-Forwarded-For header allows bypass of access controls [fedora-all]
Product: [Fedora] Fedora Reporter: Joel Chamberlain <jochambe>
Component: prometheusAssignee: Mikel Olasagasti Uranga <mikel>
Status: ON_QA --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: go-sig, mikel
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["8fb97718-ab21-44cf-bd21-747a7cb3a70d"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2515988    

Description Joel Chamberlain 2026-08-18 16:41:20 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 >= 5.2.1 and before 5.3.0 contain an IP spoofing vulnerability in the RealIP middleware, which blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header. A remote attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, by supplying a spoofed IP address in the X-Forwarded-For header. The issue is fixed in version 5.3.0.

Comment 1 Fedora Update System 2026-09-25 20:10:52 UTC
FEDORA-2026-0ed67903d8 (prometheus-3.15.0-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0ed67903d8

Comment 2 Fedora Update System 2026-09-25 20:11:07 UTC
FEDORA-2026-1e56ab167d (prometheus-3.15.0-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-1e56ab167d

Comment 3 Fedora Update System 2026-09-26 01:48:29 UTC
FEDORA-2026-0ed67903d8 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-0ed67903d8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-0ed67903d8

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

Comment 4 Fedora Update System 2026-09-26 02:04:54 UTC
FEDORA-2026-1e56ab167d 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-1e56ab167d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-1e56ab167d

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