CVSS 4.0
5.1 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NMedium (5.1) in go-chi chi. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/go-chi/chi/v5 5.2.2.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:Ngithub.com/go-chi/chi/v5 (Go): fixed in 5.2.2Explain CVE-2025-71405 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-71405?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-71405?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-2025-71405 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.2.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-vrw8-fxc6-2r93 | Go | github.com/go-chi/chi/v5 | <5.2.2 | 5.2.2 |
| GO-2025-3770 | Go | github.com/go-chi/chi/v5 | >=5.2.1 <5.2.2 | 5.2.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | golang-github-go-chi-chi | no fix listed | DEBIAN-CVE-2025-71405 |
| Debian | 14 | golang-github-go-chi-chi | 5.2.3-1 | DEBIAN-CVE-2025-71405 |
| Ubuntu | 22.04:LTS, 24.04:LTS, 26.04:LTS and 1 more | golang-github-go-chi-chi | no fix listed | UBUNTU-CVE-2025-71405 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
Red Hat rates this issue Moderate. The vulnerable Host-based redirect implementation is present in go-chi/chi v5 releases from v5.0.0 through v5.2.1 and is fixed in v5.2.2. Exploitation requires an application to use the RedirectSlashes middleware and an attacker to submit a request with a manipulated Host header; upstream notes that normal browsers and email clients cannot directly manipulate this header. Red Hat products identified with go-chi/chi v1 or v4 are not affected because that implementation does not construct redirects from the Host header.
Upgrade go-chi/chi to v5.2.2 or later. If an immediate upgrade is not possible, disable the RedirectSlashes middleware or configure the application or frontend proxy to validate and allowlist trusted Host headers.
| Product | Package | State | Advisory |
|---|---|---|---|
| Logging Subsystem for Red Hat OpenShift | openshift-logging/opa-openshift-rhel9 | Not affected | |
| Multicluster Engine for Kubernetes | multicluster-engine/managedcluster-import-controller-rhel9 | Not affected | |
| OpenShift Pipelines | openshift-pipelines-client | Not affected | |
| OpenShift Serverless | openshift-serverless-1/kn-plugin-event-sender-rhel9 | Not affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | flightctl | Not affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/observatorium-rhel9 | Not affected | |
| Red Hat Enterprise Linux 8 | osbuild-composer | Not affected | |
| Red Hat OpenShift Container Platform 4 | cri-o | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/oc-mirror-plugin-rhel9 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-telemeter | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-telemeter-rhel9 | Not affected | |
| Red Hat OpenShift Container Platform 5 | openshift5/ose-telemeter-rhel9 | Not affected | |
| Red Hat OpenShift Dev Spaces | devspaces/udi-rhel9 | Not affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/tempo-gateway-opa-rhel9 | Not affected | |
| Red Hat Quay 3 | quay/quay-rhel8 | Not affected | |
| Red Hat Quay 3 | quay/quay-rhel9 | Not affected | |
| Red Hat Satellite 6 | satellite/iop-ingress-rhel9 | Not affected | |
| Red Hat Trusted Artifact Signer | rhtas/cosign-rhel9 | Not affected | |
| Red Hat Trusted Artifact Signer | rhtas/rekor-backfill-redis-rhel9 | Not affected | |
| Red Hat Trusted Artifact Signer | rhtas/rekor-cli-rhel9 | Not affected | |
| 7 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-2025-71405.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.