CURL-CVE-2026-86410: redirect to SFTP or SCP bypasses host verification
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.
Affected Software
Event History
Frequently Asked Questions
When is a curl invocation exposed to this issue?
The issue applies when the curl command-line tool follows a redirect to an SFTP or SCP destination. Direct SFTP or SCP use is described as setting the SSH host-verification options correctly.
What must an attacker be able to do to exploit the flaw?
An attacker would need to cause curl to follow a redirect to an SFTP or SCP URL. The provided information does not specify how that redirect is introduced or any additional attacker prerequisites.
What configuration behavior distinguishes affected requests?
SSH host-verification options are set for direct SFTP or SCP interactions, but not when SFTP or SCP is reached through a redirect. Requests that do not follow such a redirect are not described as affected.