CVE-2026-72816
published medium CVSS 4.0 · 6.9go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| go-chi | — | chi0 to < 5.3.0 (affected · semver) · 5.3.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cloudflaredaarch64 | Advisory build | 2026.8.2-bp160.1.1 | OPENSUSE-SU-2026:21670-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cloudflaredppc64le | Advisory build | 2026.8.2-bp160.1.1 | OPENSUSE-SU-2026:21670-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cloudflareds390x | Advisory build | 2026.8.2-bp160.1.1 | OPENSUSE-SU-2026:21670-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cloudflaredx86_64 | Advisory build | 2026.8.2-bp160.1.1 | OPENSUSE-SU-2026:21670-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | golang-github-v2fly-v2ray-corenoarch | Advisory build | 5.53.0-bp160.1.1 | OPENSUSE-SU-2026:21653-1 |
Show 18 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-16.0 | hauleraarch64 | Advisory build | 2.1.0-bp160.1.1 | OPENSUSE-SU-2026:21793-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | haulerx86_64 | Advisory build | 2.1.0-bp160.1.1 | OPENSUSE-SU-2026:21793-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | trivyaarch64 | Advisory build | 0.74.0-160000.1.1 | OPENSUSE-SU-2026:21645-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | trivyppc64le | Advisory build | 0.74.0-160000.1.1 | OPENSUSE-SU-2026:21645-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | trivys390x | Advisory build | 0.74.0-160000.1.1 | OPENSUSE-SU-2026:21645-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | trivyx86_64 | Advisory build | 0.74.0-160000.1.1 | OPENSUSE-SU-2026:21645-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | v2ray-coreaarch64 | Advisory build | 5.53.0-bp160.1.1 | OPENSUSE-SU-2026:21653-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | v2ray-coreppc64le | Advisory build | 5.53.0-bp160.1.1 | OPENSUSE-SU-2026:21653-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | v2ray-cores390x | Advisory build | 5.53.0-bp160.1.1 | OPENSUSE-SU-2026:21653-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | v2ray-corex86_64 | Advisory build | 5.53.0-bp160.1.1 | OPENSUSE-SU-2026:21653-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | warewulf4aarch64 | Advisory build | 4.7.1-bp160.1.1 | OPENSUSE-SU-2026:21918-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | warewulf4x86_64 | Advisory build | 4.7.1-bp160.1.1 | OPENSUSE-SU-2026:21918-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | warewulf4-dracutnoarch | Advisory build | 4.7.1-bp160.1.1 | OPENSUSE-SU-2026:21918-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | warewulf4-mannoarch | Advisory build | 4.7.1-bp160.1.1 | OPENSUSE-SU-2026:21918-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | warewulf4-overlayaarch64 | Advisory build | 4.7.1-bp160.1.1 | OPENSUSE-SU-2026:21918-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | warewulf4-overlayx86_64 | Advisory build | 4.7.1-bp160.1.1 | OPENSUSE-SU-2026:21918-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | warewulf4-overlay-rke2noarch | Advisory build | 4.7.1-bp160.1.1 | OPENSUSE-SU-2026:21918-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | warewulf4-reference-docnoarch | Advisory build | 4.7.1-bp160.1.1 | OPENSUSE-SU-2026:21918-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| go-chi | chi | 0 to < 5.3.0 (affected · semver)5.3.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-290 Authentication Bypass by Spoofing
References
2- GitHub Security Advisory (GHSA-rjr7-jggh-pgcp) https://github.com/go-chi/chi/security/advisories/GHSA-rjr7-jggh-pgcp
- VulnCheck Advisory: go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware https://www.vulncheck.com/advisories/go-chi-chi-before-ip-spoofing-via-realip-middleware
Provider assertions
2VulnCheck · cna
go-chi chi before 5.3.0 IP Spoofing via RealIP Middleware
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0bdf322c8bafd285b072e18c4bae93eb4dd5b206e42beb678fe731f4a309f094
- Ingested
- 09 Oct 2026, 16:37:07 UTC
- Source record
- Official CVE record