# CVE-2026-72816: 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.

- Web page: https://patchblox.com/security/cve/CVE-2026-72816
- Priority: Routine
- CVSS: 6.5 (Moderate)
- EPSS: 0.0030
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 14, 2026
- Weakness: Authentication Bypass by Spoofing
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-72816

## Description

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

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | cloudflared opensuse-leap 16.0 | 2026.8.2-bp160.1.1 | [OPENSUSE-SU-2026:21670-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21670-1.md) | Aug 27, 2026 |
| Linux | golang-github-go-chi-chi Debian 14 | 5.3.0-1 | [DEBIAN-CVE-2026-72816](https://patchblox.com/security/data/fix/linux/debian-cve-2026-72816.md) | Aug 14, 2026 |
| Linux | hauler opensuse-leap 16.0 | 2.1.0-bp160.1.1 | [OPENSUSE-SU-2026:21793-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21793-1.md) | Sep 3, 2026 |
| Linux | trivy opensuse-leap 16.0 | 0.74.0-160000.1.1 | [OPENSUSE-SU-2026:21645-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21645-1.md) | Aug 25, 2026 |
| Linux | v2ray-core opensuse-leap 16.0 | 5.53.0-bp160.1.1 | [OPENSUSE-SU-2026:21653-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21653-1.md) | Aug 25, 2026 |
| Linux | warewulf4 opensuse-leap 16.0 | 4.7.1-bp160.1.1 | [OPENSUSE-SU-2026:21918-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21918-1.md) | Sep 18, 2026 |

---

Data as of 2026-11-10T01:44:33Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
