StraitOfVuln
Latest / CVE-2026-12064

CVE-2026-12064

HighCVSS 7.5 (v3.1)Modified
CVE.org ↗NVD ↗Vendor advisory ↗

Description

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.

Details

CVE ID
CVE-2026-12064
Published / updated
03 Jul 2026, 07:16 UTC · last modified 15 Sept 2026, 07:16 UTC
Severity
HIGH
CVSS score
7.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N · Attack vector: Network
Affected vendor
Affected products
Curl
Affected versions
Curl: ≥ 7.81.0, < 8.21.0
Fixed versions
curl 8.21.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.41% probability of exploitation in the next 30 days · 38% percentile (03 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (curl 8.21.0) per the vendor advisory.
Source (CNA)
2499f714-1537-4658-8207-48ae4bb9eae9

References (3)

https://curl.se/docs/CVE-2026-12064.htmlPatchVendor Advisory
https://curl.se/docs/CVE-2026-12064.jsonVendor Advisory
https://hackerone.com/reports/3797526ExploitIssue TrackingThird Party Advisory