cve.bz

CVE-2025-71405 go-chi chi: Open Redirect

5.1 mediumEPSS 0.4%Fix available

Medium (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.

On this page
chi versions before v5.2.2 contain an open redirect vulnerability in the RedirectSlashes middleware function that uses the Host header to construct redirect URLs. Attackers can manipulate the Host header to redirect users to arbitrary hosts, enabling phishing attacks and credential theft.

Severity

CVSS 4.0

5.1 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-08-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
go-chi chibefore 5.2.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vrw8-fxc6-2r93Gogithub.com/go-chi/chi/v5<5.2.25.2.2
GO-2025-3770Gogithub.com/go-chi/chi/v5>=5.2.1 <5.2.25.2.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13golang-github-go-chi-chino fix listedDEBIAN-CVE-2025-71405
Debian14golang-github-go-chi-chi5.2.3-1DEBIAN-CVE-2025-71405
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 1 moregolang-github-go-chi-chino fix listedUBUNTU-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

Red Hat rates this Moderate.

Red Hat's statement

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.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Logging Subsystem for Red Hat OpenShiftopenshift-logging/opa-openshift-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/managedcluster-import-controller-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines-clientNot affected
OpenShift Serverlessopenshift-serverless-1/kn-plugin-event-sender-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2flightctlNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/observatorium-rhel9Not affected
Red Hat Enterprise Linux 8osbuild-composerNot affected
Red Hat OpenShift Container Platform 4cri-oNot affected
Red Hat OpenShift Container Platform 4openshift4/oc-mirror-plugin-rhel9Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-telemeterNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-telemeter-rhel9Not affected
Red Hat OpenShift Container Platform 5openshift5/ose-telemeter-rhel9Not affected
Red Hat OpenShift Dev Spacesdevspaces/udi-rhel9Not affected
Red Hat OpenShift distributed tracing 3rhosdt/tempo-gateway-opa-rhel9Not affected
Red Hat Quay 3quay/quay-rhel8Not affected
Red Hat Quay 3quay/quay-rhel9Not affected
Red Hat Satellite 6satellite/iop-ingress-rhel9Not affected
Red Hat Trusted Artifact Signerrhtas/cosign-rhel9Not affected
Red Hat Trusted Artifact Signerrhtas/rekor-backfill-redis-rhel9Not affected
Red Hat Trusted Artifact Signerrhtas/rekor-cli-rhel9Not 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.

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON