CVE-2026-72817 json
go-chi chi 0.9.0 before 5.3.0 IP Spoofing via X-Forwarded-For
published 4mo ago modified last mo. also GHSA-9g5q-2w5x-hmxf , GO-2026-5775 , EUVD-2026-58632
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/go-chi/chi/v5/middleware 5.3.0
- go github.com/go-chi/chi/v5 5.3.0
- go-chi chi 5.3.0
- golang-github-go-chi-chi Debian 14 5.3.0-1
debian advisories DEBIAN-CVE-2026-72817
- cosign hummingbird 1 3.1.3-0.1.hum1
- spire1.15 hummingbird 1 1.15.2-0.4.hum1
- spire1.15-agent hummingbird 1 1.15.2-0.4.hum1
- spire1.15-server hummingbird 1 1.15.2-0.4.hum1
- spire1.15-oidc-discovery-provider hummingbird 1 1.15.2-0.4.hum1
- spire1.14 hummingbird 1 1.14.7-0.4.hum1
- spire1.14-agent hummingbird 1 1.14.7-0.4.hum1
- spire1.14-server hummingbird 1 1.14.7-0.4.hum1
red hat advisories RHSA-2026:54420RHSA-2026:49732RHSA-2026:49718
- warewulf4 openSUSE Leap 16.0 4.7.1-bp160.1.1
- warewulf4 openSUSE Tumbleweed 4.7.1-1.1
- hauler openSUSE Leap 16.0 2.1.0-bp160.1.1
- cloudflared openSUSE Leap 16.0 2026.8.2-bp160.1.1
- v2ray-core openSUSE Leap 16.0 5.53.0-bp160.1.1
- trivy openSUSE Leap 16.0 0.74.0-160000.1.1
- v2ray-core openSUSE Tumbleweed 5.53.0-1.1
- hauler openSUSE Tumbleweed 2.0.3-1.1
opensuse advisories openSUSE-SU-2026:21918-1openSUSE-SU-2026:11810-1openSUSE-SU-2026:21793-1openSUSE-SU-2026:21670-1openSUSE-SU-2026:21653-1openSUSE-SU-2026:21645-1
- github.com/go-chi/chi#967 pull request
- github.com/go-chi/chi/releases/tag/v5.3.0 release
Is CVE-2026-72817 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-72817 updated cvss 6.5
github.com/go-chi/chi/middleware: go-chi/chi: IP spoofing via X-Forwarded-For header manipulation
-
Red Hat Cryostat 4 cryostat/cryostat-storage-rhel9 Red Hat External Secrets Operator for Red Hat OpenShift external-secrets-operator/bitwarden-sdk-server-rhel9 Red Hat Gatekeeper 3 gatekeeper/gatekeeper-rhel9 Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/opa-openshift-rhel9 Red Hat Migration Toolkit for Applications 8 mta/mta-hub-rhel9 Red Hat Multicluster Engine for Kubernetes multicluster-engine/assisted-image-service-rhel8, multicluster-engine/assisted-image-service-rhel9affected: workaround, no fix available “Fix deferred”
+17 more productsfewer
Red Hat OpenShift Pipelines openshift-pipelines-client, openshift-pipelines/pipelines-opc-rhel9 Red Hat OpenShift Serverless openshift-serverless-1/kn-plugin-event-sender-rhel9 Red Hat Advanced Cluster Management for Kubernetes 2 flightctl, flightctl-agent, flightctl-selinux, rhacm2/volsync-rhel9, rhacm2/observatorium-rhel9 Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-main-rhel9 Red Hat Edge Manager 1 flightctl Red Hat Enterprise Linux 8 osbuild-composer, osbuild-composer-core, osbuild-composer-worker, osbuild-composer-dnf-json Red Hat OpenShift AI (RHOAI) rhoai/odh-model-registry-rhel9 Red Hat OpenShift Container Platform 4 cri-o, openshift4/ose-telemeter Red Hat OpenShift Container Platform 5 cri-o Red Hat OpenShift Dev Spaces devspaces/udi-rhel9 Red Hat OpenShift distributed tracing 3 rhosdt/tempo-gateway-rhel9 Red Hat Quay 3 quay/quay-rhel8, quay/quay-rhel9 Red Hat Satellite 6 satellite/iop-ingress-rhel9 Red Hat Web Terminal web-terminal/web-terminal-tooling-rhel9 Red Hat Security Profiles Operator compliance/openshift-selinuxd-rhel8 Red Hat Zero Trust Workload Identity Manager zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9 Red Hat Zero Trust Workload Identity Manager - Tech Preview zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9 -
Red Hat Hardened Images cosign 3.1.3-0.1.hum1, spire1.14 1.14.7-0.4.hum1, spire1.15 1.15.2-0.4.hum1, spire1.14-agent 1.14.7-0.4.hum1, spire1.15-agent 1.15.2-0.4.hum1, spire1.14-server 1.14.7-0.4.hum1, +3 morefixed: vendor fix RHSA-2026:54420
-
Red Hat Hardened Images caddy, prometheus3.5, prometheus3.13 Red Hat Trusted Artifact Signer rhtas/ec-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | 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 |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| CNA | 4.0 | 6.9 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/go-chi/chi/middleware | >=0.9.0, <=1.5.5 |
no fix listed |
| go | github.com/go-chi/chi/v2/middleware | <=2.1.1 |
no fix listed |
| go | github.com/go-chi/chi/v3/middleware | <=3.3.5 |
no fix listed |
| go | github.com/go-chi/chi/v4/middleware | <=4.1.3 |
no fix listed |
| go | github.com/go-chi/chi/v5/middleware | <5.3.0 |
5.3.0 |
| go | github.com/go-chi/chi/v5 | <5.3.0 |
5.3.0 |
Affected products
- go-chi chi
Classification
References
-
github.com
/go-chi/chi/pull/967
patch
-
github.com
/go-chi/chi/security/advisories/GHSA-9g5q-2w5x-hmxf
vendor-advisory, web, advisory
-
vulncheck.com
/advisories/go-chi-chi-before-ip-spoofing-via-x-forwarded-for
third-party-advisory
-
github.com
/go-chi/chi
package
-
github.com
/go-chi/chi/releases/tag/v5.3.0
web
Sources
- CVE List CVE-2026-72817
- GitHub Advisory GHSA-9g5q-2w5x-hmxf
- NVD CVE-2026-72817
- OSV GO-2026-5775
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.