Bug 2518010 - CVE-2026-72816 prometheus: go-chi/chi: IP Spoofing via RealIP Middleware allows bypassing access controls [fedora-all]
Summary: CVE-2026-72816 prometheus: go-chi/chi: IP Spoofing via RealIP Middleware allo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: prometheus
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Mikel Olasagasti Uranga
QA Contact:
URL:
Whiteboard: {"flaws": ["5fca9e5b-6b38-4e4b-9b95-a...
Depends On:
Blocks: CVE-2026-72816
TreeView+ depends on / blocked
 
Reported: 2026-08-18 16:12 UTC by Joel Chamberlain
Modified: 2026-10-04 01:41 UTC (History)
2 users (show)

Fixed In Version: prometheus-3.15.0-1.fc45 prometheus-3.15.0-1.fc44
Clone Of:
Environment:
Last Closed: 2026-10-03 04:41:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joel Chamberlain 2026-08-18 16:12: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 through 5.2.1 contains an IP spoofing vulnerability in the RealIP middleware (middleware/realip.go). The realIP() function reads client-controlled headers (True-Client-IP, X-Real-IP, and X-Forwarded-For) and overwrites r.RemoteAddr without verifying that the request originated from a trusted proxy. Attackers can supply arbitrary IP addresses in these headers to bypass IP-based access controls, evade rate limiting and geo-IP restrictions, and pollute audit logs. Fixed in 5.3.0.

Comment 1 Fedora Update System 2026-09-25 20:10:48 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:05 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:26 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:52 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.

Comment 5 Fedora Update System 2026-10-03 04:41:23 UTC
FEDORA-2026-0ed67903d8 (prometheus-3.15.0-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-10-04 01:41:52 UTC
FEDORA-2026-1e56ab167d (prometheus-3.15.0-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


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