{"id":"JLSEC-2026-1202","summary":"When a user invokes curl using a schemeless URL combined with `--proto-default` sftp (or scp), a...","details":"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.","modified":"2026-08-07T20:29:07.460625488Z","published":"2026-08-07T20:11:58.984Z","upstream":["CVE-2026-12064","EUVD-2026-41502","GHSA-jm94-9f7h-36pr"],"database_specific":{"sources":[{"published":"2026-07-03T07:16:24.217Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-12064","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12064","database_specific":{"status":"Analyzed"},"id":"CVE-2026-12064","imported":"2026-08-07T19:54:38.829Z","modified":"2026-07-07T19:43:11.187Z"},{"id":"GHSA-jm94-9f7h-36pr","imported":"2026-08-07T19:56:06.856Z","modified":"2026-07-07T21:32:33Z","published":"2026-07-03T09:31:26Z","url":"https://api.github.com/advisories/GHSA-jm94-9f7h-36pr","html_url":"https://github.com/advisories/GHSA-jm94-9f7h-36pr"},{"url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-41502","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-41502","id":"EUVD-2026-41502","imported":"2026-08-07T19:54:52.479Z","modified":"2026-07-06T18:21:00Z","published":"2026-07-03T06:13:55Z"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://curl.se/docs/CVE-2026-12064.html"},{"type":"WEB","url":"https://curl.se/docs/CVE-2026-12064.json"},{"type":"WEB","url":"https://github.com/advisories/GHSA-jm94-9f7h-36pr"},{"type":"WEB","url":"https://hackerone.com/reports/3797526"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12064"}],"affected":[{"package":{"name":"CURL_jll","ecosystem":"Julia","purl":"pkg:julia/CURL_jll?uuid=b21e61f3-bafc-59ac-ab14-4c5c62d6588d"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.21.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1202.json"}},{"package":{"name":"LibCURL_jll","ecosystem":"Julia","purl":"pkg:julia/LibCURL_jll?uuid=deac9b47-8bc7-5906-a0fe-35ac56dc84c0"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.81.0+0"},{"fixed":"8.21.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1202.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}