{"id":"CVE-2026-138377","summary":"AsyncSSH 1.13.1 before 2.24.2 Improper Certificate Validation via known_client_hosts","details":"AsyncSSH 1.13.1 before 2.24.2 contains an improper certificate validation vulnerability that allows remote clients to authenticate as users by abusing X.509 certificates matched in known_client_hosts. Attackers can make a failed host-based authentication attempt with any host key, adding host-only CA certificates to the trust anchors, then authenticate using user certificates issued under those CAs.","aliases":["CVE-2026-138376","GHSA-4hgp-7gmx-wvfg"],"modified":"2026-11-29T15:11:10.256620474Z","published":"2026-11-29T13:24:18.710Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"1.13.1"},{"fixed":"2.24.2"}],"source":"AFFECTED_FIELD"}]},{"extracted_events":[{"source":"CPE_FIELD","strategy":"CPEApplicability","range":[{"introduced":"1.13.1"},{"fixed":"2.24.2"}]}]},{"extracted_events":[{"source":"DESCRIPTION","range":[{"introduced":"1.13.1"},{"fixed":"2.24.2"}]}]}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-295"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138377.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138377.json"},{"type":"PACKAGE","url":"https://github.com/ronf/asyncssh"},{"type":"ARTICLE","url":"https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298"},{"type":"ADVISORY","url":"https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst"},{"type":"FIX","url":"https://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97"},{"type":"ADVISORY","url":"https://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138377"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/asyncssh-1.13.1-before-2.24.2-improper-certificate-validation-via-known-client-hosts"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ronf/asyncssh","events":[{"introduced":"0"},{"fixed":"19731a172894f7d82fbb69cb477f6f3c2103bf97"}],"database_specific":{"extracted_events":[{"source":"REFERENCES_COMMIT","range":[{"fixed":"19731a172894f7d82fbb69cb477f6f3c2103bf97"}]}]}}],"versions":["v2.24.1","v2.24.0","v2.23.1","v2.23.0","v2.22.0","v2.21.1","v2.21.0","v2.20.0","v2.19.0","v2.18.0","v2.17.0","v2.16.0","v2.15.0","v2.14.2","v2.14.1","v2.14.0","v2.13.2","v2.13.1","v2.13.0","v2.12.0","v2.11.0","v2.10.1","v2.10.0","v2.9.0","v2.8.1","v2.8.0","v2.7.2","v2.7.1","v2.7.0","v2.6.0","v2.5.0","v2.4.2","v2.4.1","v2.4.0","v2.3.0","v2.2.1","v2.2.0","v2.1.0","v2.0.1","v2.0.0","v1.18.0","v1.17.1","v1.17.0","v1.16.1","v1.16.0","v1.15.1","v1.15.0","v1.14.0","v1.13.3","v1.13.2","v1.13.1","v1.13.0","v1.12.2","v1.12.1","v1.12.0","v1.11.1","v1.11.0","v1.10.1","v1.10.0","v1.9.0","v1.8.1","v1.8.0","v1.7.3","v1.7.2","v1.7.1","v1.6.2","v1.6.1","v1.6.0","v1.5.6","v1.5.5","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.1","v1.4.0","v1.3.2","v1.3.1","v1.3.0","v1.2.1","v1.2.0","v1.1.1","v1.1.0","v1.0.1","v1.0.0","v0.9.2","v0.9.1","v0.9.0","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138377.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}]}