{"id":"JLSEC-2026-1222","aliases":["JLSEC-2026-1222"],"related":["CVE-2026-9547","EUVD-2026-41495","GHSA-xq9p-gxg6-f7q6"],"kind":"vulnerability","state":"published","title":"When a libcurl-based application performs transfers via `SCP://` or `SFTP://` and utilizes the ...","summary":"When a libcurl-based application performs transfers via `SCP://` or `SFTP://`\nand utilizes the `CURLOPT_SSH_KEYFUNCTION` callback, it may silently accept an\nuntrusted server. This vulnerability occurs when a server presents a host key\ntype that does not match the specific key type already recorded for that host\nin the `known_hosts` file. Instead of rejecting the mismatch, the callback\nmechanism fails to properly enforce the restriction, allowing the connection\nto succeed without warning and risking a potential man-in-the-middle attack.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"When a libcurl-based application performs transfers via `SCP://` or `SFTP://`\nand utilizes the `CURLOPT_SSH_KEYFUNCTION` callback, it may silently accept an\nuntrusted server. This vulnerability occurs when a server presents a host key\ntype that does not match the specific key type already recorded for that host\nin the `known_hosts` file. Instead of rejecting the mismatch, the callback\nmechanism fails to properly enforce the restriction, allowing the connection\nto succeed without warning and risking a potential man-in-the-middle attack.","format":"markdown","source":"jlsec"}],"published":"2026-08-07T20:11:58.984Z","modified":"2026-08-07T20:28:41.519Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"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.70.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-9547.html","tags":["web"],"sources":["jlsec"]},{"url":"https://curl.se/docs/CVE-2026-9547.json","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/advisories/GHSA-xq9p-gxg6-f7q6","tags":["web"],"sources":["jlsec"]},{"url":"https://hackerone.com/reports/3751712","tags":["web"],"sources":["jlsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9547","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-1222","url":"https://osv.dev/vulnerability/JLSEC-2026-1222","licence":"CC-BY-4.0","modified":"2026-08-07T20:28:41.519Z"}],"updatedAt":"2026-11-25T22:56:25.907Z"}