CVE-2026-94423 Net::LibSSH versions before 0.004 for Perl authenticate to an unverified server because connect never checks the host key against known_hosts.
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-94423?
CVE-2026-94423 is a vulnerability, published on 21 Oct 2026.
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.
Weakness: CWE-322
Which versions are affected by CVE-2026-94423?
How do I fix CVE-2026-94423?
No fix has been published for CVE-2026-94423 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-94423 being exploited?
There is no known exploitation of CVE-2026-94423 in the wild and no public exploit code.
Sources
Also known as GHSA-5q49-7p5p-mjwf.