CVE-2026-9547
Published:July 03, 2026
Updated:July 21, 2026
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.
Affected Packages
https://github.com/curl/curl.git (GITHUB):
Affected version(s) >=curl-7_69_0 <curl-8_21_0Fix Suggestion:
Update to version curl-8_21_0Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
EPSS
Base Score:
0.51