High severity · published Jul 3, 2026
CVE-2026-9547
SSH improper host validation
7.4
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 30% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CU
curl · curl
7.69.0 before 8.14.2; 8.15.0 before 8.16.1; 8.17.0 before 8.20.1; 507cf6a13db0375eadd4655b4c64710db29e9cf2 before 0b8dbbc63c98777e4584cb9fbd71df3464008ad1; 8.20.0; 8.19.0; +34 more · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-9547
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-9547
Patch
https://curl.se/docs/CVE-2026-9547.html
Vendor Advisory
https://curl.se/docs/CVE-2026-9547.json
Exploit
https://hackerone.com/reports/3751712
More from curl
9.8
CVE-2026-19931
Negotiate ambient user conn reuse
9.8
CVE-2026-9079
stale proxy password leak
9.8
CVE-2026-8925
SASL double-free
9.8
CVE-2026-11856
cross-origin Digest auth state leak
9.8
CVE-2026-10536
HTTP/2 stream-dependency tree UAF
