CVE-2026-54590
published medium CVSS 3.1 · 5.9AsyncSSH AuthorizedKeysFile username substitution bypass through ~ and environment expansion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ronf | — | asyncssh< 2.23.1 | Affected | Not stated | GitHub_M |
Description
AsyncSSH is a Python package which provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework. Version 2.23.0 contains an incomplete fix for CVE-2026-45309 in SSHServerConfig._set_tokens that blocks /, , and .. before %u substitution in AuthorizedKeysFile but does not block a leading ~ or ${ENV}, allowing later expansion in _expand_val and Path(filename).expanduser() to escape the intended authorized-keys directory. This issue is fixed in version 2.23.1.
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
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ronf | asyncssh | < 2.23.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
References
3Provider assertions
2GitHub_M · cna
AsyncSSH AuthorizedKeysFile username substitution bypass through ~ and environment expansion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 12d671742ca4548a743039a79dfcc13e0ada1ae1295f493f208f8062e8ec05b1
- Ingested
- 23 Sep 2026, 09:20:39 UTC
- Source record
- Official CVE record