CVE-2026-72815 json
go-chi chi v5.2.1 IP Spoofing via X-Forwarded-For Header
published 4mo ago modified 8d ago also GHSA-3fxj-6jh8-hvhx , GO-2026-5774 , EUVD-2026-58630
- cvss
- 6.9
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
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-72815
- 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:49718RHSA-2026:50287
- kubectl-retina openSUSE Tumbleweed 1.3.1-1.1
- 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
- cloudflared openSUSE Tumbleweed 2026.8.2-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
opensuse advisories openSUSE-SU-2026:12297-1openSUSE-SU-2026:21918-1openSUSE-SU-2026:11810-1openSUSE-SU-2026:21793-1openSUSE-SU-2026:21670-1openSUSE-SU-2026:11607-1
- github.com/go-chi/chi@3b17157 commit
- github.com/go-chi/chi#967 pull request
Is CVE-2026-72815 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-72815 updated cvss 6.5
github.com/go-chi/chi/middleware: go-chi chi: IP spoofing via X-Forwarded-For header allows bypass of access controls
-
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 Migration Toolkit for Applications 8 mta/mta-hub-rhel9 Red Hat OpenShift Pipelines openshift-pipelines-client, openshift-pipelines/pipelines-opc-rhel9 Red Hat Advanced Cluster Management for Kubernetes 2 flightctl, flightctl-agent, flightctl-selinux, rhacm2/volsync-rhel9, rhacm2/observatorium-rhel9affected: workaround, no fix available “Fix deferred”
+7 more productsfewer
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 OpenShift AI (RHOAI) rhoai/odh-model-registry-rhel9 Red Hat OpenShift Container Platform 4 cri-o, openshift4/ose-telemeter, openshift4/ose-telemeter-rhel9 Red Hat OpenShift Container Platform 5 cri-o, openshift5/ose-telemeter-rhel9 Red Hat OpenShift distributed tracing 3 rhosdt/tempo-gateway-rhel9, rhosdt/tempo-gateway-opa-rhel9 Red Hat Satellite 6 satellite/iop-ingress-rhel9 -
Red Hat Trusted Artifact Signer rhtas/ec-rhel9, rhtas/rekor-cli-rhel9, rhtas/rekor-server-rhel9, rhtas/rekor-backfill-redis-rhel9affected: workaround, no fix available, no fix planned “Out of support scope”
-
Red Hat Security Profiles Operator compliance/openshift-selinuxd-rhel8 Red Hat Zero Trust Workload Identity Manager zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Zero Trust Workload Identity Manager - Tech Preview zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9, zero-trust-workload-identity-manager/spiffe-spire-server-rhel9, zero-trust-workload-identity-manager/spiffe-spire-oidc-discovery-provider-rhel9affected: workaround, no fix available, no fix planned “Out of support scope”
-
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, prometheus3.13 3.13.2-0.2.hum1, spire1.14-agent 1.14.7-0.4.hum1, spire1.15-agent 1.15.2-0.4.hum1, +4 morefixed: vendor fix RHSA-2026:54420
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/opa-openshift-rhel9 Red Hat Multicluster Engine for Kubernetes multicluster-engine/assisted-image-service-rhel8, multicluster-engine/assisted-image-service-rhel9 Red Hat OpenShift Serverless openshift-serverless-1/kn-plugin-event-sender-rhel9 Red Hat Enterprise Linux 8 osbuild-composer, osbuild-composer-core, osbuild-composer-worker, osbuild-composer-dnf-json Red Hat Hardened Images caddy, prometheus3.5 Red Hat OpenShift Dev Spaces devspaces/udi-rhel9not affected: vulnerable code not present
+2 more productsfewer
Red Hat Quay 3 quay/quay-rhel8, quay/quay-rhel9 Red Hat Web Terminal web-terminal/web-terminal-tooling-rhel9
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
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx referenced PoC, tagged "exploit" by a source, unverified
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 | 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/v5/middleware | >=5.2.1, <5.3.0 |
5.3.0 |
| go | github.com/go-chi/chi/v5 | >=5.2.1, <5.3.0 |
5.3.0 |
Affected products
- go-chi chi
Classification
References
-
github.com
/go-chi/chi/pull/967
web, patch
-
github.com
/go-chi/chi/commit/3b171578ca44dfd75ca3c5cbddc7b44c600a7b49
web
-
github.com
/go-chi/chi/security/advisories/GHSA-3fxj-6jh8-hvhx
vendor-advisory, exploit, web, advisory
-
vulncheck.com
/advisories/go-chi-chi-ip-spoofing-via-x-forwarded-for-header
third-party-advisory
-
github.com
/go-chi/chi
package
Sources
- CVE List CVE-2026-72815
- GitHub Advisory GHSA-3fxj-6jh8-hvhx
- NVD CVE-2026-72815
- OSV GO-2026-5774
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.