Path traversal in AsyncSSH - CVE-2026-54590
Published: October 5, 2026
Vulnerability details
The vulnerability allows a remote attacker to authenticate as another user.
The vulnerability exists due to improper limitation of a pathname to a restricted directory in AuthorizedKeysFile %u username substitution when processing SSH authentication requests with crafted usernames. A remote attacker can supply a username beginning with ~ to authenticate as another user.
Exploitation requires %u to be the leading path component and a readable authorized-keys file containing the attacker's key to be reachable in the redirected home directory.
Affected software
Fedora
python-asyncssh
How to mitigate CVE-2026-54590
python-asyncssh - addressed in versions 2.23.1-1.fc43, 2.24.0-1.fc44, 2.24.0-2.el10_3