curl proto-default skips SSH verification
CVE-2026-12064 is a low-severity vulnerability in the curl command-line tool, not in libcurl generally. It is triggered when curl is invoked with a schemeless URL together with --proto-default set to sftp or scp. In this code path, the curl tool layer incorrectly infers the URL scheme and fails to initialize SSH verification-related options before handing off to libcurl. Specifically, the advisory states that critical SSH security options such as CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 and CURLOPT_SSH_KNOWNHOSTS are silently omitted. libcurl still honors CURLOPT_DEFAULT_PROTOCOL and proceeds to establish the connection using SFTP or SCP, creating a mismatch between the tool layer's assumptions and the actual protocol used. As a result, curl may connect to an SSH server without performing the expected host verification and without reporting an error. The issue affects curl versions 7.81.0 through 8.20.0 inclusive and was fixed in 8.21.0.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A curl/libcurl SSH verification vulnerability where verification may be skipped due to protocol-default behavior.
A low-severity curl/libcurl vulnerability where default protocol handling can skip SSH verification.
A low-severity curl command line tool vulnerability where using a schemeless URL with --proto-default set to sftp or scp can bypass SSH host verification options, causing connections to unverified SSH hosts.
A curl vulnerability where default protocol handling can skip SSH verification.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.