All reports
Low

curl: curl: redirect to SFTP or SCP bypasses host verification

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-86410

Probability of exploitation in the next 30 days: 0.77%

FIRST EPSS · 2026-11-22

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.

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.