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.
CVE-2026-72816
Score 6.5 from GitHub Security Advisory published 2026-08-14. a secondary CVSS source baseline 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.5
- EG Score
- 6.5(high)
- EG Risk
- 60(Attend)EG Risk 60/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 0%
- EPSS %ILE
- 13%
- KEV
- Not listed
Published
August 14, 2026
Last Modified
August 14, 2026
Advisory Details (2)
Auto-updated Aug 14, 2026go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware | Advisories | VulnCheck
https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middlewareRealIP Middleware allows IP spoofing via unvalidated X-Forwarded-For header · Advisory · go-chi/chi · GitHub
https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcpVendor Advisories for CVE-2026-72816(4)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- GHSA-xg24-pmhh-m4m9GitHub Security AdvisoriesMedium
go-chi/chi through 5.2.1 contains an IP spoofing vulnerability in the RealIP middleware ...
- RHSA-2026:54420Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:49732Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:49718Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Patch Availability(3)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | cosign-main-3.1.3-0.1.hum1 | 2026-08-12 | redhat |
| redhat | spire1-15-main-1.15.2-0.4.hum1 | 2026-08-03 | redhat |
| redhat | spire1-14-main-1.14.7-0.4.hum1 | 2026-08-03 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(6 across 1 ecosystem)
Go(6)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/go-chi/chi/middleware | — | — | — |
| github.com/go-chi/chi/v2/middleware | — | — | — |
| github.com/go-chi/chi/v3/middleware | — | — | — |
| github.com/go-chi/chi/v4/middleware | — | — | — |
| github.com/go-chi/chi/v5 | — | 5.3.0 | — |
| github.com/go-chi/chi/v5/middleware | — | 5.3.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 25× in last 7d / 25× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-21 00:24 UTCVendor advisory
- 2026-08-21 00:24 UTCGHSA enrichment
- 2026-08-19 23:06 UTCEG score recompute
- 2026-08-19 23:05 UTCGHSA enrichment
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 21:44 UTCEG score recompute
- 2026-08-18 21:44 UTCGHSA enrichment
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-17 20:26 UTCEG score recompute
- 2026-08-17 20:26 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 19:08 UTCEG score recompute
- 2026-08-16 19:08 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 02:15 UTCEPSS rescore
- 2026-08-15 17:50 UTCGHSA enrichment
- 2026-08-14 16:31 UTCEG score recompute
- 2026-08-14 16:31 UTCGHSA enrichment
- 2026-08-14 15:39 UTCEG score recompute
- 2026-08-14 15:39 UTCGHSA enrichment
- 2026-08-14 12:22 UTCEG score recompute
- 2026-08-14 11:49 UTCEG score recompute
- 2026-08-14 11:49 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-72816?
When was CVE-2026-72816 disclosed?
Is CVE-2026-72816 actively exploited?
What is the CVSS score of CVE-2026-72816?
How do I remediate CVE-2026-72816?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-72816
Is Your Infrastructure Affected by CVE-2026-72816?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.