{"id":"JLSEC-2026-1202","aliases":["JLSEC-2026-1202"],"related":["CVE-2026-12064","EUVD-2026-41502","GHSA-jm94-9f7h-36pr"],"kind":"vulnerability","state":"published","title":"When a user invokes curl using a schemeless URL combined with `--proto-default` sftp (or scp), a...","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\n`CURLOPT_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.","summaryFormat":"markdown","summarySource":"jlsec","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\n`CURLOPT_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.","format":"markdown","source":"jlsec"}],"published":"2026-08-07T20:11:58.984Z","modified":"2026-08-07T20:28:39.670Z","severity":{"scorer":"Julia Security Advisories","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":"Julia Security Advisories","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"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.21.0+0"}],"ecosystem":"Julia","package":"CURL_jll","purl":"pkg:julia/CURL_jll?uuid=b21e61f3-bafc-59ac-ab14-4c5c62d6588d","source":"jlsec"},{"ranges":[{"type":"semver","introduced":"7.81.0+0","status":"affected","fixed":"8.21.0+0"}],"ecosystem":"Julia","package":"LibCURL_jll","purl":"pkg:julia/LibCURL_jll?uuid=deac9b47-8bc7-5906-a0fe-35ac56dc84c0","source":"jlsec"}],"references":[{"url":"https://curl.se/docs/CVE-2026-12064.html","tags":["web"],"sources":["jlsec"]},{"url":"https://curl.se/docs/CVE-2026-12064.json","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/advisories/GHSA-jm94-9f7h-36pr","tags":["web"],"sources":["jlsec"]},{"url":"https://hackerone.com/reports/3797526","tags":["web"],"sources":["jlsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12064","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-1202","url":"https://osv.dev/vulnerability/JLSEC-2026-1202","licence":"CC-BY-4.0","modified":"2026-08-07T20:28:39.670Z"}],"updatedAt":"2026-11-25T22:56:25.900Z"}