Skip to main content

curl EUVDEUVD-2026-105275

| CVE-2026-86410 HIGH
Improper Validation of Certificate with Host Mismatch (CWE-297)
2026-10-14 vendor:ubuntu GHSA-4fmg-fm23-j6fc
High
Disputed · 8.1 Vendor: vendor:ubuntu
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Victim runs curl --location --proto-redir +sftp over HTTPS
  2. Delivery
    Attacker-controlled HTTPS server returns sftp:// redirect
  3. Exploit
    curl opens SFTP without host-key verification
  4. Execution
    Attacker man-in-the-middles the SFTP session
  5. Impact
    Intercept 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Oct 14, 2026 - 15:23

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

curl 8.9.0 ≤8.9.0
curl 8.2.1 ≤8.2.1
curl 7.81.0 ≤7.81.0
curl 7.84.0 ≤7.84.0
curl 7.83.0 ≤7.83.0
curl 8.22.0 ≤8.22.0
curl 8.12.0 ≤8.12.0
curl 8.6.0 ≤8.6.0
curl 8.15.0 ≤8.15.0
curl 7.87.0 ≤7.87.0
curl 8.5.0 ≤8.5.0
curl 8.10.0 ≤8.10.0
curl 8.3.0 ≤8.3.0
curl 8.10.1 ≤8.10.1
curl 7.86.0 ≤7.86.0
curl 8.21.0 ≤8.21.0
curl 7.82.0 ≤7.82.0
curl 8.0.1 ≤8.0.1
curl 8.14.0 ≤8.14.0
curl 8.11.1 ≤8.11.1
curl 8.1.2 ≤8.1.2
curl 8.7.0 ≤8.7.0
curl 8.2.0 ≤8.2.0
curl 8.17.0 ≤8.17.0
curl 7.88.1 ≤7.88.1
curl 8.12.1 ≤8.12.1
curl 7.83.1 ≤7.83.1
curl 7.85.0 ≤7.85.0
curl 8.4.0 ≤8.4.0
curl 8.1.0 ≤8.1.0
curl 8.9.1 ≤8.9.1
curl 8.1.1 ≤8.1.1
curl 8.0.0 ≤8.0.0
curl 8.16.0 ≤8.16.0
curl 8.8.0 ≤8.8.0
curl 8.13.0 ≤8.13.0
curl 8.14.1 ≤8.14.1
curl 8.19.0 ≤8.19.0
curl 8.7.1 ≤8.7.1
curl 8.18.0 ≤8.18.0
curl 8.11.0 ≤8.11.0
curl 7.88.0 ≤7.88.0
curl 8.20.0 ≤8.20.0

Affected Packages

euvd curl no fix

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)
Vendor (vendor:ubuntu) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 6.8 LOW

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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Oct 29, 2026 - 19:37 vuln.today
v2 - CVSS changed
CVSS changed
Oct 29, 2026 - 19:22 NVD
8.1 (HIGH)
CVE Published
Oct 14, 2026 - 00:00 cve.org
LOW

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Ubiquitous
curl ships in nearly all Linux/Unix systems and countless applications
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Curl

View all
CVE-2021-22901 HIGH POC
8.1 Jun 11

curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when

CVE-2013-0249 HIGH POC
7.5 Mar 08

Stack-based buffer overflow in the Curl_sasl_create_digest_md5_message function in lib/curl_sasl.c in curl and libcurl 7

CVE-2015-3145 HIGH
7.5 Apr 24

The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which

CVE-2022-32206 MEDIUM POC
6.5 Jul 07

curl < 7.84.0 supports "chained" HTTP compression algorithms, meaning that a serverresponse can be compressed multiple t

CVE-2022-32207 CRITICAL POC
9.8 Jul 07

When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the

CVE-2022-43551 HIGH POC
7.5 Dec 23

A vulnerability exists in curl <7.87.0 HSTS check that could be bypassed to trick it to keep using HTTP. Rated high seve

CVE-2022-32221 CRITICAL POC
9.8 Dec 05

When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data t

CVE-2018-0500 CRITICAL POC
9.8 Jul 11

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

CVE-2022-32205 MEDIUM POC
4.3 Jul 07

A malicious server can serve excessive amounts of `Set-Cookie:` headers in a HTTP response to curl and curl < 7.84.0 sto

CVE-2025-9086 HIGH POC
7.5 Sep 12

1. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack co

CVE-2023-23914 CRITICAL POC
9.1 Feb 23

A cleartext transmission of sensitive information vulnerability exists in curl <v7.88.0 that could cause HSTS functional

CVE-2023-27534 HIGH POC
8.8 Mar 30

A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly re

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy