CVE-2026-94423

Source
https://cve.org/CVERecord?id=CVE-2026-94423
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-94423.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-94423
Published
2026-10-21T21:22:48Z
Modified
2026-10-22T10:46:33Z
Summary
Net::LibSSH versions before 0.004 for Perl authenticate to an unverified server because connect never checks the host key against known_hosts
Details

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.

Database specific
{
    "cna_assigner":  "CPANSec",
    "cwe_ids":  [
        "CWE-322"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/94xxx/CVE-2026-94423.json"
}
References

Affected packages

Git / github.com/getty/p5-net-libssh

Affected ranges

Type
GIT
Repo
https://github.com/getty/p5-net-libssh
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.004"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "29f509aacddb4b282ac9eb716d5ab326686d09a4"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.001
0.002
0.003

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-94423.json"