๐Ÿ” CVE Alert

CVE-2026-72816

MEDIUM 6.5

go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-290
Vendor go-chi
Product chi
Published Aug 14, 2026
Stay Ahead of the Next One

Get instant alerts for go-chi chi

Be the first to know when new medium vulnerabilities affecting go-chi chi are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Affected Versions

go-chi / chi
0 < 5.3.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp vulncheck.com: https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware

Credits

๐Ÿ” rezmoss