CVSS 4.0
6.9 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NMedium (6.9) in go-chi chi. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/go-chi/chi/v5/middleware 5.3.0.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:Ngithub.com/go-chi/chi/v5/middleware (Go): fixed in 5.3.0github.com/go-chi/chi/v5 (Go): fixed in 5.3.0Explain CVE-2026-72816 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-72816?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-72816?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-72816 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| go-chi chi | before 5.3.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-rjr7-jggh-pgcp | Go | github.com/go-chi/chi/middleware | <=1.5.5 | no fix published |
| GHSA-rjr7-jggh-pgcp | Go | github.com/go-chi/chi/v2/middleware | <=2.1.1 | no fix published |
| GHSA-rjr7-jggh-pgcp | Go | github.com/go-chi/chi/v3/middleware | <=3.3.5 | no fix published |
| GHSA-rjr7-jggh-pgcp | Go | github.com/go-chi/chi/v4/middleware | <=4.1.3 | no fix published |
| GHSA-rjr7-jggh-pgcp | Go | github.com/go-chi/chi/v5/middleware | <5.3.0 | 5.3.0 |
| GO-2026-5777 | Go | github.com/go-chi/chi/v5 | <5.3.0 | 5.3.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | golang-github-go-chi-chi | no fix listed | DEBIAN-CVE-2026-72816 |
| Debian | 14 | golang-github-go-chi-chi | 5.3.0-1 | DEBIAN-CVE-2026-72816 |
| Ubuntu | 22.04:LTS, 24.04:LTS, 26.04:LTS | golang-github-go-chi-chi | no fix listed | UBUNTU-CVE-2026-72816 |
| Red Hat | hummingbird:1 | cosign | 0:3.1.3-0.1.hum1 | RHSA-2026:54420 |
| Red Hat | hummingbird:1 | spire1.14, spire1.14-agent, spire1.14-server and 1 more | 0:1.14.7-0.4.hum1 | RHSA-2026:49718 |
| Red Hat | hummingbird:1 | spire1.15, spire1.15-agent, spire1.15-server and 1 more | 0:1.15.2-0.4.hum1 | RHSA-2026:49732 |
| openSUSE | Leap 16.0 | cloudflared | 2026.8.2-bp160.1.1 | openSUSE-SU-2026:21670-1 |
| openSUSE | Leap 16.0 | hauler | 2.1.0-bp160.1.1 | openSUSE-SU-2026:21793-1 |
| openSUSE | Leap 16.0 | trivy | 0.74.0-160000.1.1 | openSUSE-SU-2026:21645-1 |
| openSUSE | Leap 16.0 | v2ray-core | 5.53.0-bp160.1.1 | openSUSE-SU-2026:21653-1 |
| openSUSE | Leap 16.0 | warewulf4 | 4.7.1-bp160.1.1 | openSUSE-SU-2026:21918-1 |
| Azure Linux | 3 | gh | 2.97.0-1 | AZL-96635 |
| Azure Linux | 3 | influxdb | no fix listed | AZL-96689 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.
Red Hat rates this Moderate.
An IP spoofing flaw exists in go-chi/chi's RealIP middleware (middleware/realip.go). The realIP() function parses untrusted HTTP headers (True-Client-IP, X-Real-IP, X-Forwarded-For) and overwrites r.RemoteAddr without validating upstream proxy identity. Remote unauthenticated attackers can supply arbitrary IP values in these headers to bypass IP-restricted endpoints, subvert rate-limiting controls, or poison application audit logs, posing a Low impact to confidentiality and integrity.
Do not use the `chi/middleware.RealIP` middleware when receiving traffic directly from untrusted networks or unverified proxies. Instead, strip or sanitize client-supplied forwarding headers at an upstream edge proxy or reverse proxy (such as NGINX or HAProxy) before requests reach the application.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | spire1-14-main-1.14.7-0.4.hum1 | Fixed 2026-08-03 | RHSA-2026:49718 |
| Red Hat Hardened Images | spire1-15-main-1.15.2-0.4.hum1 | Fixed 2026-08-03 | RHSA-2026:49732 |
| Red Hat Hardened Images | cosign-main-3.1.3-0.1.hum1 | Fixed 2026-08-12 | RHSA-2026:54420 |
| Cryostat 4 | cryostat/cryostat-storage-rhel9 | Fix deferred | |
| External Secrets Operator for Red Hat OpenShift | external-secrets-operator/bitwarden-sdk-server-rhel9 | Fix deferred | |
| Gatekeeper 3 | gatekeeper/gatekeeper-rhel9 | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/opa-openshift-rhel9 | Fix deferred | |
| Migration Toolkit for Applications 8 | mta/mta-hub-rhel9 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-image-service-rhel8 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-image-service-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines-client | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-opc-rhel9 | Not affected | |
| OpenShift Serverless | openshift-serverless-1/kn-plugin-event-sender-rhel9 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | flightctl | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/observatorium-rhel9 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/volsync-rhel9 | Fix deferred | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-main-rhel8 | Not affected | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-main-rhel9 | Not affected | |
| Red Hat Edge Manager 1 | flightctl | Fix deferred | |
| Red Hat Enterprise Linux 8 | osbuild-composer | Fix deferred | |
| 17 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-72816.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.