Net::LibSSH versions before 0.004 for Perl authenticate to an unverified server because connect never checks the host key against known_hosts.
connect reports success as soon as ssh_connect returns SSH_OK. libssh leaves the known-hosts check to the application, and this binding never makes it, so the strict_hostkeycheck and knownhosts options are set on the session and then decide nothing.
Password, agent and public-key authentication, channel and SFTP operations all run on a session whose peer was never identified, so an attacker who can redirect the connection receives the password when password authentication is used, and commands and data sent over the session.
References
Configurations
No configuration.
History
30 Oct 2026, 18:18
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.1 |
22 Oct 2026, 01:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
21 Oct 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-21 22:16
Updated : 2026-10-30 18:18
NVD link : CVE-2026-94423
Mitre link : CVE-2026-94423
CVE.ORG link : CVE-2026-94423
JSON object : View
Products Affected
No product.
CWE
CWE-322
Key Exchange without Entity Authentication
