CVE-2026-72816
Last modified
CVE-2026-72816 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| go-chi | chi | < 5.3.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-72816?
How severe is CVE-2026-72816?
How do I fix CVE-2026-72816?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72810SiYuan versions before v3.7.4 contain a publish-boundary byp…8.6
- CVE-2026-72811SiYuan versions <= v3.7.2 contain a SQL injection vulnerabil…10
- CVE-2026-72812SiYuan versions before v3.7.4 contain a missing authorizatio…6.5
- CVE-2026-72813actix-files before 0.6.10 contains a denial of service vulne…6.9
- CVE-2026-72814The actix-files crate (actix_files) before version 0.6.10 co…6.3
- CVE-2026-72815go-chi chi versions >= 5.2.1 and before 5.3.0 contain an IP …6.9
- CVE-2026-72817go-chi/chi versions 0.9.0 before 5.3.0 contains an IP spoofi…6.5
- CVE-2026-72818The URLS regular expression in nltk/tokenize/casual.py, comp…7.5
- CVE-2026-72819Grav CMS before 2.0.13 contains a remote code execution vuln…8.8
- CVE-2026-7282A vulnerability was identified in SourceCodester Pharmacy Sa…4.7
- CVE-2026-72820Grav versions before 2.0.13 fail to properly validate backup…4.9
- CVE-2026-72821Grav Form plugin versions before 9.1.15 contain a stored cro…5.4
Are you affected by CVE-2026-72816?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
