CVE-2026-86410

redirect to SFTP or SCP bypasses host verification

Published Oct 20, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
A flaw in the curl command line tool's logic makes it only set SSH host
verification options when interacting directly using SFTP or SCP, and not as a
result of following a redirect.

Analysis

AI-generated

Technical impact

A flaw in the curl command‑line tool causes it to ignore user‑specified SSH host verification options when following redirects to SFTP or SCP destinations. When curl receives a redirect, it fails to apply host‑verification settings for the subsequent SFTP or SCP connection, allowing the remote host’s identity to be unchecked. This gives an attacker a route to conduct a man‑in‑the‑middle or data tampering attack against a user who trusts the redirect source, potentially exposing or modifying transferred data.

Affected Systems

The affected product is curl, as identified by the CNA. The bug is present in the curl version that is packaged by RedHat in the Hummingbird distribution, but no specific curl release or patch level is specified in the CVE data.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity, and the EPSS score is 0.00252 (equivalent to < 1%), while the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is a remote server that issues an HTTP redirect to a malicious SFTP or SCP endpoint. An attacker must control the initial server to return a redirect that points curl to an untrusted SSH host; utilization of the -L (follow redirects) option or any redirect processing in curl can enable exploitation. No widespread evidence of active exploitation is currently noted, but the conditions for exploitation are readily achievable when users supply URLs that may redirect to SFTP or SCP targets.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade curl to a version that includes the host‑verification fix.
  • Avoid using the -L or ‑--location option with SFTP or SCP URLs, or disable redirect handling entirely when contacting untrusted hosts.
  • Enforce SSH host‑key verification in curl’s configuration (e.g., using –key or –remote‑verification) before initiating any file transfer.

Generated by OpenCVE AI on October 29, 2026 at 22:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8927-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8927-2 curl vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N'}

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Description A flaw was found in the curl command-line tool. When configured to follow redirects to Secure File Transfer Protocol (SFTP) or Secure Copy Protocol (SCP) destinations, curl fails to apply user-specified Secure Shell (SSH) host verification settings. A malicious server can exploit this flaw by redirecting requests to an untrusted server, causing the connection to proceed without validating the remote host's identity. This failure can enable an attacker to intercept communications, leading to sensitive information disclosure. A flaw in the curl command line tool's logic makes it only set SSH host verification options when interacting directly using SFTP or SCP, and not as a result of following a redirect.
Title curl: curl: redirect to SFTP or SCP bypasses host verification redirect to SFTP or SCP bypasses host verification
References
Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl
Type Values Removed Values Added
Description A flaw was found in the curl command-line tool. When configured to follow redirects to Secure File Transfer Protocol (SFTP) or Secure Copy Protocol (SCP) destinations, curl fails to apply user-specified Secure Shell (SSH) host verification settings. A malicious server can exploit this flaw by redirecting requests to an untrusted server, causing the connection to proceed without validating the remote host's identity. This failure can enable an attacker to intercept communications, leading to sensitive information disclosure.
Title curl: curl: redirect to SFTP or SCP bypasses host verification
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-297
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N'}

threat_severity

Low

Weaknesses
  • CWE-297

    Improper Validation of Certificate with Host Mismatch

Sources

Status
PUBLISHED
Assigner
curl
Published
Updated
Oct 29, 2026, 6:36 PM
Reserved
Sep 7, 2026, 12:11 PM
Status
Awaiting Analysis
Published
Oct 20, 2026, 8:17 PM
Modified
Oct 29, 2026, 7:17 PM
Severity
Low
Public date
Oct 14, 2026, 12:00 PM