{"api_version":"1","generated_at":"2026-10-22T07:31:11+00:00","cve":"CVE-2026-94423","urls":{"html":"https://cve.report/CVE-2026-94423","api":"https://cve.report/api/cve/CVE-2026-94423.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-94423","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-94423"},"summary":{"title":"Net::LibSSH versions before 0.004 for Perl authenticate to an unverified server because connect never checks the host key against known_hosts","description":"Net::LibSSH versions before 0.004 for Perl authenticate to an unverified server because connect never checks the host key against known_hosts.\n\nconnect 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.\n\nPassword, 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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-10-21 22:16:50","updated_at":"2026-10-22 01:17:00"},"problem_types":["CWE-322","CWE-322 CWE-322 Key Exchange without Entity Authentication"],"metrics":[],"references":[{"url":"https://metacpan.org/release/GETTY/Net-LibSSH-0.004/changes","name":"https://metacpan.org/release/GETTY/Net-LibSSH-0.004/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/10/21/29","name":"http://www.openwall.com/lists/oss-security/2026/10/21/29","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/Getty/p5-net-libssh/commit/29f509aacddb4b282ac9eb716d5ab326686d09a4.patch","name":"https://github.com/Getty/p5-net-libssh/commit/29f509aacddb4b282ac9eb716d5ab326686d09a4.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-94423","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-94423","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to Net-LibSSH 0.004 or later.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"James Klein","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-10-22T00:16:44.795Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/21/29"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Net::LibSSH"],"packageName":"Net-LibSSH","packageURL":"pkg:cpan/Net-LibSSH","programFiles":["LibSSH.xs"],"programRoutines":[{"name":"Net::LibSSH::connect"}],"repo":"https://github.com/Getty/p5-net-libssh","versions":[{"lessThan":"0.004","status":"affected","version":"0","versionType":"custom"}]}],"credits":[{"lang":"en","type":"finder","value":"James Klein"}],"descriptions":[{"lang":"en","value":"Net::LibSSH versions before 0.004 for Perl authenticate to an unverified server because connect never checks the host key against known_hosts.\n\nconnect 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.\n\nPassword, 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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-322","description":"CWE-322 Key Exchange without Entity Authentication","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-21T21:22:48.593Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["release-notes"],"url":"https://metacpan.org/release/GETTY/Net-LibSSH-0.004/changes"},{"tags":["patch"],"url":"https://github.com/Getty/p5-net-libssh/commit/29f509aacddb4b282ac9eb716d5ab326686d09a4.patch"}],"solutions":[{"lang":"en","value":"Upgrade to Net-LibSSH 0.004 or later."}],"source":{"discovery":"UNKNOWN"},"title":"Net::LibSSH versions before 0.004 for Perl authenticate to an unverified server because connect never checks the host key against known_hosts","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-94423","datePublished":"2026-10-21T21:22:48.593Z","dateReserved":"2026-09-21T15:32:37.782Z","dateUpdated":"2026-10-22T00:16:44.795Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-21 22:16:50","lastModifiedDate":"2026-10-22 01:17:00","problem_types":["CWE-322","CWE-322 CWE-322 Key Exchange without Entity Authentication"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"94423","Ordinal":"1","Title":"Net::LibSSH versions before 0.004 for Perl authenticate to an un","CVE":"CVE-2026-94423","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"94423","Ordinal":"1","NoteData":"Net::LibSSH versions before 0.004 for Perl authenticate to an unverified server because connect never checks the host key against known_hosts.\n\nconnect 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.\n\nPassword, 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.","Type":"Description","Title":"Net::LibSSH versions before 0.004 for Perl authenticate to an un"}]}}}