LiveActive security incident?Get immediate response
CVE Record

CVE-2025-71405: go-chi chi before v5.2.2 Open Redirect via RedirectSlashes

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.

MediumCVSS 5.1Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Applications using vulnerable go-chi middleware may send users to an attacker-chosen website when processing malformed URLs. This can make phishing pages appear to originate from a trusted service, increasing credential-theft risk. The flaw does not directly compromise the server.

Executive priority

Prioritize remediation for public-facing authentication, payment, or other high-trust applications. The moderate severity supports prompt maintenance rather than emergency response, unless exposure validation confirms vulnerable middleware and unrestricted Host handling on sensitive user flows.

Technical view

Before v5.2.2, chi's RedirectSlashes middleware constructs redirect URLs using the request Host header. An unauthenticated remote attacker can manipulate that header, but user interaction is required for harm. The reported CVSS v4.0 score is 5.1, with confidentiality and integrity impacts and no availability impact.

Likely exposure

Exposure requires chi earlier than v5.2.2, use of RedirectSlashes, and a deployment path that accepts or forwards untrusted Host headers. Applications not using this middleware, running v5.2.2 or later, or strictly validating allowed hosts are less likely to be exploitable.

Exploitation context

The supplied sources do not report active exploitation, and the CVE is not identified as being in KEV. Exploitation would primarily support phishing or credential theft by causing a trusted application to redirect a user to an attacker-controlled host.

Researcher notes

CWE-601 applies. The decisive conditions are middleware use and Host-header trust boundaries. Confirm behavior across direct traffic, proxies, and CDNs because intermediaries may normalize or validate Host values. The supplied version data supports v5.2.2 as the remediation boundary, but does not document exploitation in the wild.

Mitigation direction

  • Upgrade go-chi chi to v5.2.2 or later.
  • Identify every service using the RedirectSlashes middleware.
  • Validate allowed Host values at the application or trusted reverse proxy.
  • Review the vendor advisory for deployment-specific guidance.

Validation and detection

  • Confirm deployed chi versions from dependency manifests, lockfiles, and runtime inventories.
  • Inspect routing configuration for RedirectSlashes middleware usage.
  • Verify unrecognized Host values are rejected or cannot influence redirect destinations.
  • Confirm redirects remain on approved application hosts during controlled testing.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-601: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-71405 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.1 (4.0)
Known Exploited
No
Published

Vector: 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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
3Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.1CVSS 4.0MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NVulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

5.1Medium
CVSS 4.0 vector shape for CVE-2025-71405Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: 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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
go-chichi0, 5.2.2unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-601 · source CWE mapping

URL Redirection to Untrusted Site ('Open Redirect')

URL Redirection to Untrusted Site ('Open Redirect') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.