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.
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade curl | Jul 6, 2026 | Jul 3, 2026 |
| Redhat_linux | — | Upgrade curl-debuginfoUpgrade curl-debugsourceUpgrade libcurlUpgrade libcurl-debuginfoUpgrade curlUpgrade libcurl-develUpgrade libcurl-minimal-debuginfoUpgrade libcurl-minimal | Jul 17, 2026 | Jul 3, 2026 |
| Ubuntu | — | Upgrade curlUpgrade libcurl4t64Upgrade libcurl3t64-gnutlsUpgrade libcurl4-openssl-devUpgrade libcurl4-gnutls-dev | Jul 12, 2026 | Jul 9, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 10, 2026 | Jul 3, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub