CVE-2026-94423
AI summary
Net::LibSSH for Perl before 0.004 never verifies the server host key against known_hosts. An attacker able to redirect the connection can obtain passwords and the commands and data sent over the session. Critical (CVSS 9.1); upgrade to 0.004.
Official 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.
- Published
- 2026-10-21 22:16 UTC
- Modified
- 2026-10-30 18:18 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS
- 0.59% (percentile 42)
- ENISA EUVD
- EUVD-2026-107577
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-322
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- github.com
https://github.com/Getty/p5-net-libssh/commit/29f509aacddb4b282ac9eb716d5ab326686d09a4.patch - metacpan.org
https://metacpan.org/release/GETTY/Net-LibSSH-0.004/changes - www.openwall.com
http://www.openwall.com/lists/oss-security/2026/10/21/29