Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim runs curl --location --proto-redir +sftp over HTTPS
-
DeliveryAttacker-controlled HTTPS server returns sftp:// redirect
-
Exploitcurl opens SFTP without host-key verification
-
ExecutionAttacker man-in-the-middles the SFTP session
-
ImpactIntercept or tamper with transferred files and credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate host validation
|
| Exploitation Conditions | Exploitation requires that the victim invokes the curl command-line tool with --location (redirect following) AND a protocol-redirect policy that permits SFTP (e.g. --proto-redir +sftp), while also supplying one or more SSH host-verification options (--knownhosts, --hostpubsha256, or --hostpubmd5) that they expect to be enforced. The initial URL must be a non-SFTP/SCP scheme (the description cites HTTPS), so that the SSH verification options are never installed, and the server at that URL must return a 'Location: sftp://...' redirect. An attacker must therefore control or inject that redirect-returning server AND be positioned to man-in-the-middle the subsequent SFTP connection to gain value. Limiting factors: all of these flags are non-default and uncommon in typical curl usage; direct SFTP/SCP usage is unaffected; and the bypass only yields impact to an attacker who can both drive the redirect and intercept the SSH connection. |
| Impact | CVSS base score is 8.1 (High) with vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, reflecting a network-reachable, unauthenticated flaw with high confidentiality and integrity impact - but the signals pull in different directions and argue against emergency treatment. AC:H already encodes that exploitation is not straightforward: it depends on a non-default curl invocation (both --location and --proto-redir allowing sftp) combined with an attacker who both controls the HTTPS endpoint and can man-in-the-middle the resulting SFTP connection. EPSS is low at 0.27% (19th percentile), and the CVE is NOT in CISA KEV, so there is no evidence of active or widespread exploitation. The vendor priority Decision label is 'this_week' (not act_now/emergency), consistent with a real-but-constrained issue: patch within the week rather than drop everything. No SSVC decision record is provided in the input. Net: this is a legitimately serious host-verification bypass for the narrow set of users who rely on sftp redirects with SSH host pinning, but for the broad curl population the practical risk is limited by the required flag combination and MITM positioning. No KEV and low EPSS despite a high CVSS indicate this is a high-severity-but-lower-likelihood issue rather than an active threat. |
| Exploit ScenarioDerived | A user runs curl with --location and --proto-redir permitting sftp, intending SSH host verification via --knownhosts/--hostpubsha256/--hostpubmd5, and requests an HTTPS URL. An attacker who controls (or can inject into) that HTTPS server returns a 'Location: sftp://example.com' redirect; curl then opens the SFTP connection with none of the requested host-key checks applied, letting an attacker positioned to intercept that connection impersonate the SFTP server and read or tamper with transferred data. A public HackerOne disclosure report (3973176) is referenced but is not verified as working exploit code, and AC:H reflects the non-trivial preconditions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 29, 2026
curl's command-line tool fails to install the SSH host-verification options the user requested (--knownhosts, --hostpubsha256, --hostpubmd5) whenever an SFTP or SCP transfer is reached by following a redirect instead of being requested directly, so a Location: sftp://... response to an HTTPS request causes the subsequent SSH connection to proceed with no host key checking at all. An attacker who controls or can inject the redirecting server, and who can also intercept the resulting SFTP session, can impersonate the target host and read or alter transferred data. The preconditions are narrow - --location, a redirect policy that permits SFTP (e.g. --proto-redir +sftp), and explicit SSH verification flags must all be used together - no confirmed public exploit code was identified at time of analysis, EPSS is low at 0.27% (19th percentile), and vendor patches are available.
Earlier versions of this analysis (1)
SSH host-key verification that the user explicitly requested is silently dropped by the curl command-line tool when an SFTP or SCP transfer is reached by following an HTTPS redirect, so --knownhosts, --hostpubsha256, and --hostpubmd5 never take effect on that connection. Only the opt-in combination of --location plus --proto-redir +sftp starting from an HTTPS URL is affected, and an attacker must additionally control the HTTPS response (to inject Location: sftp://...) and hold an in-path position to impersonate the SSH host - the bug degrades a requested security control rather than providing code execution or data access by itself. The independent assessment scores this CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N (Medium severity, unauthenticated but requiring user interaction), and no public exploit identified at time of analysis.
RemediationAI
Install the vendor-released curl update; the upstream advisory at https://curl.se/docs/CVE-2026-86410.html identifies the fixed release line, and Ubuntu users should apply USN-8927-1 (https://ubuntu.com/security/notices/USN-8927-1) via a normal package upgrade and then confirm the running curl version. Because the flaw is entirely a precondition-dependent logic bypass, removing any one precondition also removes exposure: stop combining --location with a --proto-redir setting that re-admits sftp or scp (the default redirect protocol policy is already safe, so explicitly avoid '+sftp'/'+scp' modifiers on redirects), or drop --location for transfers that rely on SSH host pinning and resolve redirects manually - the trade-off is that legitimate HTTP-to-SFTP redirect workflows and multi-hop fetches will break and must be reworked as two separate invocations. Where such a workflow cannot be changed immediately, treat the SFTP hop as unauthenticated and verify the remote host key out of band (for example by checking the server's key fingerprint through a separate channel) before trusting the transfer; this restores assurance but requires a manual step per host and does not scale to automated pipelines. Updating curl remains the only complete fix, since the underlying option-installation logic is what must change.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a host-identity validation failure (CWE-297, Improper Validation of Certificate with Host Mismatch) in curl's command-line transfer setup logic rather than in its TLS or SSH libraries. curl configures SSH-specific options such as the known-hosts file and pinned host public keys only on the code path taken when the tool URL is directly an sftp:// or scp:// URL; when the same tool is reached through the redirect-following state machine after an initial HTTPS request, that setup block is skipped, so the user's verification intent is silently dropped while the SFTP connection itself is still established. The behavior is gated on the operator combining --location with a --proto-redir policy that re-admits SFTP, which is non-default: curl's default redirect policy does not permit protocol switching of this kind, and direct SFTP/SCP invocations are unaffected. The CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H per NVD; our assessment concurs on confidentiality and integrity while scoring availability as none) reflects that reachability is remote and unauthenticated but that a successful attack requires an attacker-controlled redirect plus a man-in-the-middle position on the follow-on SSH session. EUVD enumerates affected releases spanning curl 7.81.0 through 8.22.0.
Know when Curl gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
Sources disagree (Low–High)AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AC:H because exploitation needs a non-default sftp-redirect configuration plus attacker MITM positioning; PR:N/UI:N as no target credentials are required; C:H/I:H for MITM read/tamper of the SFTP session, A:N as availability is not the impact.
vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.
CVSS VectorVendor: vendor:ubuntu
Lifecycle Timeline
3DescriptionCVE.org
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. This means --knownhosts, --hostpubsha256, and --hostpubmd5 are never installed when the initial URL is HTTPS. If --location and --proto-redir +sftp is used and the server returns a Location: sftp://example.com redirect, the SFTP connection proceeds without any of the user's requested SSH host verification methods.
Executive ViewAI
CVE-2026-86410 is a high-severity flaw in curl's command-line tool that bypasses SSH host verification when following redirects to SFTP/SCP, potentially exposing sensitive file transfers to interception. Organizations using curl for automated file transfers with redirects and strict SSH options are at risk of data theft or manipulation. Leadership should prioritize patching to prevent potential breaches.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when
Stack-based buffer overflow in the Curl_sasl_create_digest_md5_message function in lib/curl_sasl.c in curl and libcurl 7
The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which
curl < 7.84.0 supports "chained" HTTP compression algorithms, meaning that a serverresponse can be compressed multiple t
When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the
A vulnerability exists in curl <7.87.0 HSTS check that could be bypassed to trick it to keep using HTTP. Rated high seve
When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data t
Curl_smtp_escape_eob in lib/smtp.c in curl 7.54.1 to and including curl 7.60.0 has a heap-based buffer overflow that mig
A malicious server can serve excessive amounts of `Set-Cookie:` headers in a HTTP response to curl and curl < 7.84.0 sto
1. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack co
A cleartext transmission of sensitive information vulnerability exists in curl <v7.88.0 that could cause HSTS functional
A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly re
EUVD-2026-105275
GHSA-4fmg-fm23-j6fc
NVD
CVE.org
EPSS
VulDB
Exploit-DB