CVE-2026-138377
published high CVSS 4.0 · 7.6AsyncSSH 1.13.1 before 2.24.2 Improper Certificate Validation via known_client_hosts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ronf | — | AsyncSSH1.13.1 to < 2.24.2 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.8 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ronf | AsyncSSH | 1.13.1 to < 2.24.2 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-295 Improper Certificate Validation
References
5- https://github.com/ronf/asyncssh/blob/v2.24.1/asyncssh/connection.py#L1274-L1298
- https://github.com/ronf/asyncssh/blob/v2.24.2/docs/changes.rst
- https://github.com/ronf/asyncssh/commit/19731a172894f7d82fbb69cb477f6f3c2103bf97
- GitHub Security Advisory (GHSA-4hgp-7gmx-wvfg) https://github.com/ronf/asyncssh/security/advisories/GHSA-4hgp-7gmx-wvfg
- VulnCheck Advisory: AsyncSSH 1.13.1 before 2.24.2 Improper Certificate Validation via known_client_hosts https://www.vulncheck.com/advisories/asyncssh-1.13.1-before-2.24.2-improper-certificate-validation-via-known-client-hosts
Provider assertions
1VulnCheck · cna
AsyncSSH 1.13.1 before 2.24.2 Improper Certificate Validation via known_client_hosts
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0b1886c1da5e6a84a64aeade7ee75bc78d1141d9cffe64410ac733b247b8caa5
- Ingested
- 29 Nov 2026, 13:25:53 UTC
- Source record
- Official CVE record