CVE-2026-114437go-chi chi
Medium 6.3 No auth needed
Follow: this CVE · go-chi · go-chi chi We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 4.0
- 6.3
- EPSS
- —
- Auth required
- No
- Published
- Oct 21, 2026
- Updated
- Oct 21, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-348
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:H/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
In the Golang Chi web framework, the ClientIPFromXFF middleware skips any X-Forwarded-For entry in a configured trusted CIDR but never verifies that the direct TCP peer in http.Request.RemoteAddr belongs to that CIDR. A client that can reach the Go server directly can therefore append a trusted-looking proxy address and choose the client IP returned by middleware.GetClientIP.
This issue affects chi before 5.4.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.4.0 |
5.4.0 |
go get github.com/go-chi/chi/v5@v5.4.0 |
Per OSV / GitHub Advisories (GHSA-j6qf-3m9c-vwj3). 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
- Security update for hauler · SUSE · openSUSE-SU-2026:22317-1 · Nov 7, 2026 High
- Security update for hauler · SUSE · openSUSE-SU-2026:22201-1 · Oct 28, 2026 High
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.