When a libcurl-based application performs transfers via SCP:// or SFTP://
and utilizes the CURLOPT_SSH_KEYFUNCTION callback, it may silently accept an
untrusted server. This vulnerability occurs when a server presents a host key
type that does not match the specific key type already recorded for that host
in the known_hosts file. Instead of rejecting the mismatch, the callback
mechanism fails to properly enforce the restriction, allowing the connection
to succeed without warning and risking a potential man-in-the-middle attack.
{
"sources": [
{
"imported": "2026-08-07T19:54:39.020Z",
"modified": "2026-07-07T14:52:29.503Z",
"published": "2026-07-03T07:16:25.990Z",
"database_specific": {
"status": "Analyzed"
},
"id": "CVE-2026-9547",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-9547",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-9547"
},
{
"imported": "2026-08-07T19:56:01.762Z",
"id": "GHSA-xq9p-gxg6-f7q6",
"url": "https://api.github.com/advisories/GHSA-xq9p-gxg6-f7q6",
"modified": "2026-07-06T18:30:52Z",
"published": "2026-07-03T09:31:27Z",
"html_url": "https://github.com/advisories/GHSA-xq9p-gxg6-f7q6"
},
{
"imported": "2026-08-07T19:55:07.047Z",
"modified": "2026-07-06T16:48:14Z",
"published": "2026-07-03T06:18:44Z",
"id": "EUVD-2026-41495",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-41495",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-41495"
}
],
"license": "CC-BY-4.0"
}