go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware
CVE-2026-72816 is fixed in 6 products on 1 platform, first by DEBIAN-CVE-2026-72816, released August 14, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| cloudflared · opensuse-leap 16.0 | 2026.8.2-bp160.1.1 | OPENSUSE-SU-2026:21670-1 | Aug 27, 2026 |
| golang-github-go-chi-chi · Debian 14 | 5.3.0-1 | DEBIAN-CVE-2026-72816 | Aug 14, 2026 |
| hauler · opensuse-leap 16.0 | 2.1.0-bp160.1.1 | OPENSUSE-SU-2026:21793-1 | Sep 3, 2026 |
| trivy · opensuse-leap 16.0 | 0.74.0-160000.1.1 | OPENSUSE-SU-2026:21645-1 | Aug 25, 2026 |
| v2ray-core · opensuse-leap 16.0 | 5.53.0-bp160.1.1 | OPENSUSE-SU-2026:21653-1 | Aug 25, 2026 |
| warewulf4 · opensuse-leap 16.0 | 4.7.1-bp160.1.1 | OPENSUSE-SU-2026:21918-1 | Sep 18, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.