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.5MEDIUMmedium confidence
- EG Risk
- 60EG Risk 60/100CISA SSVC
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%CISA SSVC: Track at low or medium mission impact; Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 0.3%
- EPSS %ILE
- 20th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 14, 2026
Last Modified
September 9, 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(5)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2026-72816Microsoft Security Response Center (MSRC)Medium
go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware
- 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 | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| redhat | cosign-main-3.1.3-0.1.hum1 | 2026-08-12 | redhat |
| redhat | spire1-14-main-1.14.7-0.4.hum1 | 2026-08-03 | redhat |
| redhat | spire1-15-main-1.15.2-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
(9 across 4 ecosystems)
Go(6)
| Package | Vulnerable range | Fix by version range | 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 | — |
| — |
| github.com/go-chi/chi/v5/middleware | — |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| golang-github-go-chi-chi | 5.0.7-1 ... 5.3.0-1 (6 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| golang-github-go-chi-chi | 5.2.0-1, 5.2.3-1, 5.2.5-1, 5.3.0-1 |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| golang-github-go-chi-chi | 5.2.0-1, 5.2.3-1, 5.2.5-1 |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 14× in last 7d / 90× 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.
Showing the most recent 100 of 169 total refreshes for this CVE.
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-04 22:13 UTCVendor advisory
- 2026-10-04 22:13 UTCGHSA enrichment
- 2026-10-03 19:42 UTCEG score recompute
- 2026-10-03 19:42 UTCVendor advisory
- 2026-10-03 19:42 UTCGHSA enrichment
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-02 07:22 UTCEG score recompute
- 2026-10-02 07:22 UTCVendor advisory
- 2026-10-02 07:22 UTCGHSA enrichment
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-09-30 21:42 UTCEG score recompute
- 2026-09-30 21:42 UTCVendor advisory
- 2026-09-30 21:42 UTCGHSA enrichment
- 2026-09-28 13:52 UTCEPSS rescore
- 2026-09-28 10:58 UTCEG score recompute
- 2026-09-28 10:58 UTCVendor advisory
- 2026-09-28 10:58 UTCGHSA enrichment
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-27 09:39 UTCEG score recompute
- 2026-09-27 09:39 UTCVendor advisory
- 2026-09-27 09:39 UTCGHSA enrichment
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-25 03:24 UTCEG score recompute
- 2026-09-25 03:24 UTCVendor advisory
Show 75 moreShow fewer
- 2026-09-25 03:24 UTCGHSA enrichment
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-23 16:42 UTCEG score recompute
- 2026-09-23 16:42 UTCVendor advisory
- 2026-09-23 16:41 UTCGHSA enrichment
- 2026-09-22 15:23 UTCEG score recompute
- 2026-09-22 15:23 UTCVendor advisory
- 2026-09-22 15:23 UTCGHSA enrichment
- 2026-09-21 21:09 UTCEPSS rescore
- 2026-09-21 14:03 UTCEG score recompute
- 2026-09-21 14:03 UTCVendor advisory
- 2026-09-21 14:03 UTCGHSA enrichment
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-20 12:43 UTCEG score recompute
- 2026-09-20 12:43 UTCVendor advisory
- 2026-09-20 12:43 UTCGHSA enrichment
- 2026-09-19 11:11 UTCEG score recompute
- 2026-09-19 11:11 UTCVendor advisory
- 2026-09-19 11:11 UTCGHSA enrichment
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 08:15 UTCEG score recompute
- 2026-09-18 08:15 UTCVendor advisory
- 2026-09-18 08:15 UTCGHSA enrichment
- 2026-09-17 06:56 UTCEG score recompute
- 2026-09-17 06:56 UTCVendor advisory
- 2026-09-17 06:56 UTCGHSA enrichment
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-16 05:09 UTCVendor advisory
- 2026-09-16 05:09 UTCGHSA enrichment
- 2026-09-15 03:50 UTCEG score recompute
- 2026-09-15 03:50 UTCVendor advisory
- 2026-09-15 03:50 UTCGHSA enrichment
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-14 02:31 UTCEG score recompute
- 2026-09-14 02:31 UTCVendor advisory
- 2026-09-14 02:31 UTCGHSA enrichment
- 2026-09-13 01:12 UTCEG score recompute
- 2026-09-13 01:12 UTCVendor advisory
- 2026-09-13 01:12 UTCGHSA enrichment
- 2026-09-12 15:02 UTCEPSS rescore
- 2026-09-11 23:53 UTCEG score recompute
- 2026-09-11 23:53 UTCVendor advisory
- 2026-09-11 23:53 UTCGHSA enrichment
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-10 22:10 UTCEG score recompute
- 2026-09-10 22:10 UTCVendor advisory
- 2026-09-10 22:10 UTCGHSA enrichment
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-09 20:50 UTCVendor advisory
- 2026-09-09 20:50 UTCGHSA enrichment
- 2026-09-09 09:17 UTCEG score recompute
- 2026-09-09 09:17 UTCVendor advisory
- 2026-09-09 09:17 UTCGHSA enrichment
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-08 07:58 UTCEG score recompute
- 2026-09-08 07:58 UTCVendor advisory
- 2026-09-08 07:58 UTCGHSA enrichment
- 2026-09-07 06:40 UTCEG score recompute
- 2026-09-07 06:40 UTCVendor advisory
- 2026-09-07 06:40 UTCGHSA enrichment
- 2026-09-06 13:48 UTCEPSS rescore
- 2026-09-06 05:01 UTCEG score recompute
- 2026-09-06 05:01 UTCVendor advisory
- 2026-09-06 05:01 UTCGHSA enrichment
- 2026-09-05 03:43 UTCEG score recompute
- 2026-09-05 03:43 UTCVendor advisory
- 2026-09-05 03:43 UTCGHSA enrichment
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-04 02:24 UTCVendor advisory
- 2026-09-04 02:23 UTCGHSA enrichment
- 2026-09-03 00:58 UTCEG score recompute
- 2026-09-03 00:58 UTCVendor advisory
- 2026-09-03 00:58 UTCGHSA enrichment
- 2026-09-02 14:12 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
4 shownGo:github.com/go-chi/chi/middleware · Go:github.com/go-chi/chi/v5/middleware · Debian:12:golang-github-go-chi-chi
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.