Skip to main content
Network Thinking Solutions Logo

CVE-2026-12064

When a user invokes curl using a schemeless URL combined with `--proto-default` sftp (or scp), a disconnect occurs between the tool layer and libcurl.

All CVEs
CVE-2026-12064Published 7/3/2026

When a user invokes curl using a schemeless URL combined with `--proto-default` sftp (or scp), a disconnect occurs between the tool layer and libcurl.

Vendor advisory
CVSS7.5High

Overview

When a user invokes curl using a schemeless URL combined with `--proto-default` sftp (or scp), a disconnect occurs between the tool layer and libcurl. The tool layer incorrectly infers the URL scheme, which erroneously bypasses the initialization of critical SSH security options like CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 and CURLOPT_SSH_KNOWNHOSTS. Conversely, the libcurl runtime successfully honors CURLOPT_DEFAULT_PROTOCOL and establishes the connection via SFTP/SCP as specified. Because the tool layer skipped the security configuration, these SSH host verification options are silently omitted, causing curl to connect to an unverified SSH remote host without throwing an error.

Published
7/3/2026
Last modified
9/15/2026
Assigned by
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
curl
haxx
≥ 7.81.0, < 8.21.0

Verify advisory

Source
curl
curl
≥ 7.81.0, < 8.14.2

Verify advisory

Source
curl
curl
≥ 8.15.0, < 8.16.1

Verify advisory

Source
curl
curl
≥ 8.17.0, < 8.20.1

Verify advisory

Source
curl
curl
≥ 18270893abdb19f0ca170c118f8a2847dbd304be, < ab3bb8cd8be8f9d4acb97da0418abc279182041e

Verify advisory

Source
curl
curl
8.20.0

Verify advisory

Source
curl
curl
8.19.0

Verify advisory

Source
curl
curl
8.18.0

Verify advisory

Source
curl
curl
8.17.0

Verify advisory

Source
curl
curl
8.16.0

Verify advisory

Source
curl
curl
8.15.0

Verify advisory

Source
curl
curl
8.14.1

Verify advisory

Source
curl
curl
8.14.0

Verify advisory

Source
curl
curl
8.13.0

Verify advisory

Source
curl
curl
8.12.1

Verify advisory

Source
curl
curl
8.12.0

Verify advisory

Source
curl
curl
8.11.1

Verify advisory

Source
curl
curl
8.11.0

Verify advisory

Source
curl
curl
8.10.1

Verify advisory

Source
curl
curl
8.10.0

Verify advisory

Source
curl
curl
8.9.1

Verify advisory

Source
curl
curl
8.9.0

Verify advisory

Source
curl
curl
8.8.0

Verify advisory

Source
curl
curl
8.7.1

Verify advisory

Source
curl
curl
8.7.0

Verify advisory

Source
curl
curl
8.6.0

Verify advisory

Source
curl
curl
8.5.0

Verify advisory

Source
curl
curl
8.4.0

Verify advisory

Source
curl
curl
8.3.0

Verify advisory

Source
curl
curl
8.2.1

Verify advisory

Source
curl
curl
8.2.0

Verify advisory

Source
curl
curl
8.1.2

Verify advisory

Source
curl
curl
8.1.1

Verify advisory

Source
curl
curl
8.1.0

Verify advisory

Source
curl
curl
8.0.1

Verify advisory

Source
curl
curl
8.0.0

Verify advisory

Source
curl
curl
7.88.1

Verify advisory

Source
curl
curl
7.88.0

Verify advisory

Source
curl
curl
7.87.0

Verify advisory

Source
curl
curl
7.86.0

Verify advisory

Source
curl
curl
7.85.0

Verify advisory

Source
curl
curl
7.84.0

Verify advisory

Source
curl
curl
7.83.1

Verify advisory

Source
curl
curl
7.83.0

Verify advisory

Source
curl
curl
7.82.0

Verify advisory

Source
curl
curl
7.81.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.