CVE-2026-72815go-chi chi
Medium 6.9 No auth needed
Follow: this CVE · go-chi · go-chi chi We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 4.0
- 6.9
- EPSS
- —
- Auth required
- No
- Published
- Aug 14, 2026
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-290
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
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/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
What happens
go-chi chi versions >= 5.2.1 and before 5.3.0 contain an IP spoofing vulnerability in the RealIP middleware, which blindly trusts the first (leftmost) value of the X-Forwarded-For HTTP header. A remote attacker can bypass IP-based access control lists and rate-limiting mechanisms, and forge log entries, by supplying a spoofed IP address in the X-Forwarded-For header. The issue is fixed in version 5.3.0.
What to do
- Apply the vendor's security update for chi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/go-chi/chi/v5 |
≥ 5.2.1 < 5.3.0 |
5.3.0 |
go get github.com/go-chi/chi/v5@v5.3.0 |
| Go | github.com/go-chi/chi/v5 |
≥ 5.2.1 < 5.3.0 |
5.3.0 |
go get github.com/go-chi/chi/v5@v5.3.0 |
| Go | github.com/go-chi/chi/v5/middleware |
≥ 5.2.1 < 5.3.0 |
5.3.0 |
go get github.com/go-chi/chi/v5/middleware@v5.3.0 |
Per OSV / GitHub Advisories (GHSA-3fxj-6jh8-hvhx, GO-2026-5774). Check the version in your lockfile before upgrading.
Affected products
- go-chi · chi
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- cosign-3.1.6-1.1 on GA media · SUSE · openSUSE-SU-2026:12704-1 · Nov 27, 2026 Critical
- kubectl-retina-1.3.1-1.1 on GA media · SUSE · openSUSE-SU-2026:12297-1 · Oct 27, 2026 Critical
- Security update for warewulf4 · SUSE · openSUSE-SU-2026:21918-1 · Sep 18, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:54420 · Aug 20, 2026 Medium
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:49732 · Aug 20, 2026 Medium
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:49718 · Aug 20, 2026 Medium
Also: SUSE (+6), Red Hat (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.