{"id":"CVE-2026-12064","published":"2026-07-03T06:13:55Z","modified":"2026-09-15T06:02:44Z","title":"proto-default skips SSH verification","vendor":"curl","product":"curl","tier":"tail","description":{"text":"When a user invokes curl using a schemeless URL combined with\n`--proto-default` sftp (or scp), a disconnect occurs between the tool layer\nand libcurl. The tool layer incorrectly infers the URL scheme, which\nerroneously bypasses the initialization of critical SSH security options like\nCURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 and CURLOPT_SSH_KNOWNHOSTS. Conversely, the\nlibcurl runtime successfully honors CURLOPT_DEFAULT_PROTOCOL and establishes\nthe connection via SFTP/SCP as specified. Because the tool layer skipped the\nsecurity configuration, these SSH host verification options are silently\nomitted, causing curl to connect to an unverified SSH remote host without\nthrowing an error.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00574,"percentile":0.41271,"provenance":"source"},"cwes":[{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch"}],"references":[{"url":"https://curl.se/docs/CVE-2026-12064.json","tags":[]},{"url":"https://curl.se/docs/CVE-2026-12064.html","tags":[]},{"url":"https://hackerone.com/reports/3797526","tags":[]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":8.25},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"curl","affectedVersions":[{"vendor":"curl","product":"curl","versions":[">= 7.81.0, < 8.14.2",">= 8.15.0, < 8.16.1",">= 8.17.0, < 8.20.1"]},{"vendor":"curl","product":"curl","versions":[">= 18270893abdb19f0ca170c118f8a2847dbd304be, < ab3bb8cd8be8f9d4acb97da0418abc279182041e"]},{"vendor":"curl","product":"curl","versions":["8.20.0","8.19.0","8.18.0","8.17.0","8.16.0","8.15.0","8.14.1","8.14.0","8.13.0","8.12.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-06T18:19:34.951461Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-41502","exploited":false,"provenance":"source"}}