{"affected":[{"defaultStatus":"unaffected","ecosystem":"pypi","packageName":"asyncssh","product":"AsyncSSH","source":"CNA: VulnCheck","vendor":"ronf","versions":[{"lessThan":"2.24.2","status":"affected","version":"1.13.1","versionType":"semver"}]}],"cveId":"CVE-2026-138377","cwes":["CWE-295"],"description":"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.","epss":{"date":"2026-12-02","percentile":0.33306,"score":0.00373},"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg"}],"kev":null,"metrics":[{"score":7.6,"severity":"high","source":"CNA: VulnCheck","vector":"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","version":"4.0"},{"score":6.8,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"score":7.6,"severity":"high","source":"NVD: disclosure@vulncheck.com","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":6.8,"severity":"medium","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}],"modifiedAt":1796235366680,"publishedAt":1795958658710,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/asyncssh-1.13.1-before-2.24.2-improper-certificate-validation-via-known-client-hosts"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/asyncssh-1.13.1-before-2.24.2-improper-certificate-validation-via-known-client-hosts"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97"}],"revision":"ff5da6050f5a1e3113f84b91c070f716b1ce84a280e0cfa82ef9f5f74ad384f2","sources":[{"modifiedAt":1796235366680,"name":"CNA: VulnCheck","retrievedAt":1796238558845,"url":"https://www.cve.org/CVERecord?id=CVE-2026-138377"},{"modifiedAt":1795961824237,"name":"NVD","retrievedAt":1795976146208,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138377"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1796238589241,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-138377"}],"ssvc":{"assessedAt":1796235333660,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"AsyncSSH 1.13.1 before 2.24.2 Improper Certificate Validation via known_client_hosts","updatedAt":1796238589241}