{"id":"CVE-2026-9547","aliases":["CVE-2026-9547","CURL-CVE-2026-9547"],"related":[],"kind":"vulnerability","state":"published","title":"SSH improper host validation","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.","summarySource":"cvelist","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.","source":"cvelist"}],"published":"2026-06-24T08:00:00.000Z","modified":"2026-10-25T01:05:45.818Z","severity":{"scorer":"CISA-ADP","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":"CISA-ADP","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"},{"scorer":"curl","scheme":"rating","rating":"LOW"}],"cwes":["CWE-297"],"affected":[{"ranges":[{"type":"semver","introduced":"7.69.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":"507cf6a13db0375eadd4655b4c64710db29e9cf2","fixed":"0b8dbbc63c98777e4584cb9fbd71df3464008ad1","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"},{"version":"7.80.0","status":"affected"},{"version":"7.79.1","status":"affected"},{"version":"7.79.0","status":"affected"},{"version":"7.78.0","status":"affected"},{"version":"7.77.0","status":"affected"},{"version":"7.76.1","status":"affected"},{"version":"7.76.0","status":"affected"},{"version":"7.75.0","status":"affected"},{"version":"7.74.0","status":"affected"},{"version":"7.73.0","status":"affected"},{"version":"7.72.0","status":"affected"},{"version":"7.71.1","status":"affected"},{"version":"7.71.0","status":"affected"},{"version":"7.70.0","status":"affected"},{"version":"7.69.1","status":"affected"},{"version":"7.69.0","status":"affected"}],"vendor":"curl","product":"curl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"7.69.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":"507cf6a13db0375eadd4655b4c64710db29e9cf2","status":"affected","fixed":"0b8dbbc63c98777e4584cb9fbd71df3464008ad1"}],"repo":"https://github.com/curl/curl.git","source":"curl"},{"ranges":[{"status":"affected","introduced":"7.69.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-9547.json","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://curl.se/docs/CVE-2026-9547.html","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://hackerone.com/reports/3751712","tags":["exploit","issue-tracking","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Joshua Rogers (Aisle Research)"],"assigner":"curl","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-07-06T16:47:32.456Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-9547","url":"https://www.cve.org/CVERecord?id=CVE-2026-9547","licence":"CVE Terms of Use","modified":"2026-09-15T06:03:34.802Z"},{"source":"curl","name":"curl","id":"CURL-CVE-2026-9547","url":"https://osv.dev/vulnerability/CURL-CVE-2026-9547","licence":"MIT","modified":"2026-10-25T01:05:45.818Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-9547","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9547","licence":"Public domain","modified":"2026-09-15T07:16:35.310Z"}],"updatedAt":"2026-11-25T22:59:27.081Z","epss":{"score":0.00361,"percentile":0.31931,"date":"2026-12-02T12:00:21.000Z"}}