Curl 7.81.0 < 8.21.0 Proto-Default Skips SSH Verification

high Nessus Plugin ID 323014

Synopsis

The remote host has a program that is affected by an improper host validation vulnerability.

Description

The version of curl installed on the remote host is 7.81.0 prior to 8.21.0. It is, therefore, affected by an improper host validation vulnerability:

- When a user invokes curl using a schemeless URL combined with --proto-default sftp, a disconnect occurs that erroneously bypasses the initialization of critical SSH security options. (CVE-2026-12064)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade Curl to version 8.21.0 or later.

See Also

https://curl.se/docs/CVE-2026-12064.html

Plugin Details

Severity: High

ID: 323014

File Name: curl_CVE-2026-12064.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 6/26/2026

Updated: 6/26/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.0

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-12064

CVSS v3

Risk Factor: High

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Vulnerability Information

CPE: cpe:/a:haxx:curl

Required KB Items: installed_sw/Curl

Patch Publication Date: 6/24/2026

Vulnerability Publication Date: 6/24/2026

Reference Information

CVE: CVE-2026-12064

IAVA: 2026-A-0627