Skip to content

CVE-2026-45309 AsyncSSH `AuthorizedKeysFile %u` path traversal allows attacker-selected authorized keys to authenticate a traversal username

HighCVSS 8.2 EPSS 0.59%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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. Prior to 2.23.0, AsyncSSH expands the OpenSSH-compatible AuthorizedKeysFile %u token in asyncssh/config.py, asyncssh/connection.py, asyncssh/auth_keys.py, and asyncssh/misc.py with the raw SSH username during pre-authentication server config reload, allowing a server configured with AuthorizedKeysFile authorized_keys/%u to read an authorized-keys file outside the intended directory when the SSH username contains /, , or .. path traversal segments and authenticate with an attacker-selected key file. This issue is fixed in version 2.23.0.

Upgrade path

12 packages: 3 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
debian/python-asyncssh(Debian 12) = 2.10.1-2; = 2.10.1-2+deb12u1; = 2.10.1-2+deb12u2; = 2.15.0-1 +14 more No fix listed No fix yet
debian/python-asyncssh(Debian 13) = 2.20.0-1; = 2.21.0-1; = 2.21.1-1; = 2.22.0-1 +5 more No fix listed No fix yet
redhat/rhceph/rhceph-7-rhel9(Red Hat ceph_storage 7) All versions No fix listed No fix yet
redhat/rhceph/rhceph-8-rhel9(Red Hat ceph_storage 8) All versions No fix listed No fix yet
redhat/rhceph/rhceph-9-rhel9(Red Hat ceph_storage 9) All versions No fix listed No fix yet
ubuntu/python-asyncssh(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/python-asyncssh(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/python-asyncssh(Ubuntu 26.04) All versions No fix listed No fix yet
asyncssh project asyncssh < 2.23.0 2.23.0 Fixed
debian/python-asyncssh(Debian 14) < 2.23.0-1; = 2.20.0-1; = 2.21.0-1; = 2.21.1-1 +2 more 2.23.0-1 Fixed
pypi asyncssh(PyPI) = 2.22.0; >= 2.22.0, < 2.23.0 2.23.0 Fixed
ronf asyncssh = < 2.23.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi asyncssh(PyPI) >= 2.22.0, < 2.23.0 2.23.0
pypi asyncssh(PyPI) = 2.22.0 No fix listed
ronf asyncssh = < 2.23.0 No fix listed
redhat/rhceph/rhceph-7-rhel9(Red Hat:ceph_storage:7) All versions No fix listed
redhat/rhceph/rhceph-8-rhel9(Red Hat:ceph_storage:8) All versions No fix listed
redhat/rhceph/rhceph-9-rhel9(Red Hat:ceph_storage:9) All versions No fix listed
debian/python-asyncssh(Debian:12) All versions No fix listed
debian/python-asyncssh(Debian:12) = 2.10.1-2 No fix listed
debian/python-asyncssh(Debian:12) = 2.10.1-2+deb12u1 No fix listed
debian/python-asyncssh(Debian:12) = 2.10.1-2+deb12u2 No fix listed
debian/python-asyncssh(Debian:12) = 2.15.0-1 No fix listed
debian/python-asyncssh(Debian:12) = 2.16.0-1 No fix listed
debian/python-asyncssh(Debian:12) = 2.17.0-1 No fix listed
debian/python-asyncssh(Debian:12) = 2.17.0-2 No fix listed
debian/python-asyncssh(Debian:12) = 2.18.0-1 No fix listed
debian/python-asyncssh(Debian:12) = 2.19.0-1 No fix listed
debian/python-asyncssh(Debian:12) = 2.20.0-1 No fix listed
debian/python-asyncssh(Debian:12) = 2.21.0-1 No fix listed
debian/python-asyncssh(Debian:12) = 2.21.1-1 No fix listed
debian/python-asyncssh(Debian:12) = 2.22.0-1 No fix listed
debian/python-asyncssh(Debian:12) = 2.22.0-2 No fix listed
debian/python-asyncssh(Debian:12) = 2.23.0-1 No fix listed
debian/python-asyncssh(Debian:12) = 2.24.0-1 No fix listed
debian/python-asyncssh(Debian:12) = 2.24.0-2 No fix listed
debian/python-asyncssh(Debian:13) All versions No fix listed
Show 18 more
ProductAffected versionsFixed in
debian/python-asyncssh(Debian:13) = 2.20.0-1 No fix listed
debian/python-asyncssh(Debian:13) = 2.21.0-1 No fix listed
debian/python-asyncssh(Debian:13) = 2.21.1-1 No fix listed
debian/python-asyncssh(Debian:13) = 2.22.0-1 No fix listed
debian/python-asyncssh(Debian:13) = 2.22.0-2 No fix listed
debian/python-asyncssh(Debian:13) = 2.23.0-1 No fix listed
debian/python-asyncssh(Debian:13) = 2.24.0-1 No fix listed
debian/python-asyncssh(Debian:13) = 2.24.0-2 No fix listed
debian/python-asyncssh(Debian:14) < 2.23.0-1 2.23.0-1
debian/python-asyncssh(Debian:14) = 2.20.0-1 No fix listed
debian/python-asyncssh(Debian:14) = 2.21.0-1 No fix listed
debian/python-asyncssh(Debian:14) = 2.21.1-1 No fix listed
debian/python-asyncssh(Debian:14) = 2.22.0-1 No fix listed
debian/python-asyncssh(Debian:14) = 2.22.0-2 No fix listed
ubuntu/python-asyncssh(Ubuntu:22.04) All versions No fix listed
ubuntu/python-asyncssh(Ubuntu:24.04) All versions No fix listed
ubuntu/python-asyncssh(Ubuntu:26.04) All versions No fix listed
asyncssh project asyncssh < 2.23.0 2.23.0

References