Auth bypass in Ronf Asyncssh
CVE-2026-54590
- CVSS v3
- 5.9 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 27.5th percentile
- Published
- 2026-07-08
What to do
- Fixed in
2.23.1- Affected
- 1 affected product
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 27.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Ronf Asyncssh — versions < 2.23.1