Bug 2517996 - CVE-2026-72816 cri-o1.30: go-chi/chi: IP Spoofing via RealIP Middleware allows bypassing access controls [fedora-all]
Summary: CVE-2026-72816 cri-o1.30: go-chi/chi: IP Spoofing via RealIP Middleware allow...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: cri-o1.30
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Brad Smith
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:06 UTC by Joel Chamberlain
Modified: 2026-08-18 16:06 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 16:06:40 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.


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