Vulnerability Description
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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/Getty/p5-net-libssh/commit/29f509aacddb4b282ac9eb716d5ab32668
- https://metacpan.org/release/GETTY/Net-LibSSH-0.004/changes
- http://www.openwall.com/lists/oss-security/2026/10/21/29
FAQ
What is CVE-2026-94423?
CVE-2026-94423 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 S...
How severe is CVE-2026-94423?
CVE-2026-94423 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-94423?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.