CVE-2026-72817: go-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-For
Vulnerability summary
CVE-2026-72817 is a medium (CVSS 6.9) vulnerability in go-chi chi. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.4% of scored vulnerabilities.
Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 8Timeline
- 14-08-2026PublishedVulnerability first disclosed.
- 08-10-2026Last modifiedVulnerability information updated.
Description
go-chi/chi versions 0.9.0 before 5.3.0 contains an IP spoofing vulnerability in the RealIP middleware, which resolves the request source IP (Request.RemoteAddr) using the first IP in the X-Forwarded-For header without validating trusted proxies. A malicious client can prepend a forged IP as the first value of the X-Forwarded-For header to spoof the request source IP, potentially bypassing access controls or falsifying request logs.
CVSS metrics
8 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · GoEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:PDiffers
- NVDNIST6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/go-chi/chi2 products
- middleware≥ 0.9.0, ≤ 1.5.5
- v5< 5.3.0
Opensuse2 products
- trivy&distro=openSUSE Tumbleweed< 0.74.0-1.1
- v2ray-core&distro=openSUSE Tumbleweed< 5.53.0-1.1
Debian1 product
- golang-github-go-chi-chiAll versions (No fix recorded) | < 5.3.0-1
Github.com/go-chi/chi/v21 product
- middleware≤ 2.1.1
Github.com/go-chi/chi/v31 product
- middleware≤ 3.3.5
Github.com/go-chi/chi/v41 product
- middleware≤ 4.1.3
Github.com/go-chi/chi/v51 product
- middleware< 5.3.0
Go-chi1 product
- chi≥ 0.9.0, < 5.3.0
Ubuntu1 product
- golang-github-go-chi-chiAll versions (No fix recorded)
9 vendors · 11 products
References
10 links- www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-x-forwarded-forThird Party AdvisoryREPORT
- github.com/go-chi/chiPACKAGE