PT-2026-51744 · Git · Curl
Published
2026-06-24
·
Updated
2026-06-24
·
CVE-2026-12064
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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. Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Curl