CVE-2026-9547
SSH improper host validation
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.
INFO
Published Date :
July 3, 2026, 6:18 a.m.
Last Modified :
July 3, 2026, 6:18 a.m.
Remotely Exploit :
No
Source :
curl
Affected Products
The following products are affected by CVE-2026-9547
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update libcurl to a patched version.
- Verify SSH host key validation configuration.
- Test SCP/SFTP connections with known hosts.
- Monitor for man-in-the-middle attempts.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-9547 vulnerability anywhere in the article.