{"id":"CVE-2026-12064","aliases":["CVE-2026-12064","CURL-CVE-2026-12064"],"related":[],"kind":"vulnerability","state":"published","title":"proto-default skips SSH verification","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-06-24T08:00:00.000Z","modified":"2026-10-25T01:05:22.532Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"curl","scheme":"rating","rating":"LOW"}],"cwes":["CWE-295","CWE-297"],"affected":[{"ranges":[{"type":"semver","introduced":"7.81.0","fixed":"8.14.2","status":"affected"},{"type":"semver","introduced":"8.15.0","fixed":"8.16.1","status":"affected"},{"type":"semver","introduced":"8.17.0","fixed":"8.20.1","status":"affected"}],"vendor":"curl","product":"curl","source":"cvelist"},{"ranges":[{"type":"git","introduced":"18270893abdb19f0ca170c118f8a2847dbd304be","fixed":"ab3bb8cd8be8f9d4acb97da0418abc279182041e","status":"affected"}],"vendor":"curl","product":"curl","repo":"https://github.com/curl/curl.git","source":"cvelist"},{"ranges":[{"version":"8.20.0","status":"affected"},{"version":"8.19.0","status":"affected"},{"version":"8.18.0","status":"affected"},{"version":"8.17.0","status":"affected"},{"version":"8.16.0","status":"affected"},{"version":"8.15.0","status":"affected"},{"version":"8.14.1","status":"affected"},{"version":"8.14.0","status":"affected"},{"version":"8.13.0","status":"affected"},{"version":"8.12.1","status":"affected"},{"version":"8.12.0","status":"affected"},{"version":"8.11.1","status":"affected"},{"version":"8.11.0","status":"affected"},{"version":"8.10.1","status":"affected"},{"version":"8.10.0","status":"affected"},{"version":"8.9.1","status":"affected"},{"version":"8.9.0","status":"affected"},{"version":"8.8.0","status":"affected"},{"version":"8.7.1","status":"affected"},{"version":"8.7.0","status":"affected"},{"version":"8.6.0","status":"affected"},{"version":"8.5.0","status":"affected"},{"version":"8.4.0","status":"affected"},{"version":"8.3.0","status":"affected"},{"version":"8.2.1","status":"affected"},{"version":"8.2.0","status":"affected"},{"version":"8.1.2","status":"affected"},{"version":"8.1.1","status":"affected"},{"version":"8.1.0","status":"affected"},{"version":"8.0.1","status":"affected"},{"version":"8.0.0","status":"affected"},{"version":"7.88.1","status":"affected"},{"version":"7.88.0","status":"affected"},{"version":"7.87.0","status":"affected"},{"version":"7.86.0","status":"affected"},{"version":"7.85.0","status":"affected"},{"version":"7.84.0","status":"affected"},{"version":"7.83.1","status":"affected"},{"version":"7.83.0","status":"affected"},{"version":"7.82.0","status":"affected"},{"version":"7.81.0","status":"affected"}],"vendor":"curl","product":"curl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"7.81.0","status":"affected","fixed":"8.14.2"},{"type":"semver","introduced":"8.15.0","status":"affected","fixed":"8.16.1"},{"type":"semver","introduced":"8.17.0","status":"affected","fixed":"8.20.1"},{"type":"semver","introduced":"8.21.0","status":"affected","fixed":"8.21.0"},{"type":"git","introduced":"18270893abdb19f0ca170c118f8a2847dbd304be","status":"affected","fixed":"ab3bb8cd8be8f9d4acb97da0418abc279182041e"}],"repo":"https://github.com/curl/curl.git","source":"curl"},{"ranges":[{"status":"affected","introduced":"7.81.0","fixed":"8.21.0"}],"vendor":"haxx","product":"curl","cpe":"cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://curl.se/docs/CVE-2026-12064.json","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://curl.se/docs/CVE-2026-12064.html","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://hackerone.com/reports/3797526","tags":["exploit","issue-tracking","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["alienowo on hackerone (AntAISecurityLab)","Daniel Stenberg"],"assigner":"curl","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-07-06T18:19:34.951Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-12064","url":"https://www.cve.org/CVERecord?id=CVE-2026-12064","licence":"CVE Terms of Use","modified":"2026-09-15T06:02:44.283Z"},{"source":"curl","name":"curl","id":"CURL-CVE-2026-12064","url":"https://osv.dev/vulnerability/CURL-CVE-2026-12064","licence":"MIT","modified":"2026-10-25T01:05:22.532Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-12064","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12064","licence":"Public domain","modified":"2026-09-15T07:16:26.150Z"}],"updatedAt":"2026-11-25T22:59:27.076Z","epss":{"score":0.00414,"percentile":0.37695,"date":"2026-12-01T12:00:22.000Z"}}