Skip to content

CVE-2026-54591 AsyncSSH: SCP Path Traversal to Arbitrary File Write

HighCVSS 8.1 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known

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.1, a malicious SSH server can write arbitrary files on the asyncssh SCP client's filesystem by sending filenames containing ../ traversal sequences because _parse_cd_args in scp.py returns server-provided names verbatim and _recv_files joins them to the destination path without enforcing the target directory boundary. This issue is fixed in version 2.23.1.

Affected products

ProductAffected versionsFixed in
pypi asyncssh(PyPI) < 2.23.1 2.23.1
pypi asyncssh(PyPI) = 0.8.1 No fix listed
pypi asyncssh(PyPI) = 0.8.2 No fix listed
pypi asyncssh(PyPI) = 0.8.3 No fix listed
pypi asyncssh(PyPI) = 0.8.4 No fix listed
pypi asyncssh(PyPI) = 0.9.0 No fix listed
pypi asyncssh(PyPI) = 0.9.1 No fix listed
pypi asyncssh(PyPI) = 0.9.2 No fix listed
pypi asyncssh(PyPI) = 1.0.0 No fix listed
pypi asyncssh(PyPI) = 1.0.1 No fix listed
pypi asyncssh(PyPI) = 1.1.0 No fix listed
pypi asyncssh(PyPI) = 1.1.1 No fix listed
pypi asyncssh(PyPI) = 1.10.0 No fix listed
pypi asyncssh(PyPI) = 1.10.1 No fix listed
pypi asyncssh(PyPI) = 1.11.0 No fix listed
pypi asyncssh(PyPI) = 1.11.1 No fix listed
pypi asyncssh(PyPI) = 1.12.0 No fix listed
pypi asyncssh(PyPI) = 1.12.1 No fix listed
pypi asyncssh(PyPI) = 1.12.2 No fix listed
pypi asyncssh(PyPI) = 1.13.0 No fix listed
pypi asyncssh(PyPI) = 1.13.1 No fix listed
pypi asyncssh(PyPI) = 1.13.2 No fix listed
pypi asyncssh(PyPI) = 1.13.3 No fix listed
pypi asyncssh(PyPI) = 1.14.0 No fix listed
pypi asyncssh(PyPI) = 1.15.0 No fix listed
Show 106 more
ProductAffected versionsFixed in
pypi asyncssh(PyPI) = 1.15.1 No fix listed
pypi asyncssh(PyPI) = 1.16.0 No fix listed
pypi asyncssh(PyPI) = 1.16.1 No fix listed
pypi asyncssh(PyPI) = 1.17.0 No fix listed
pypi asyncssh(PyPI) = 1.17.1 No fix listed
pypi asyncssh(PyPI) = 1.18.0 No fix listed
pypi asyncssh(PyPI) = 1.2.0 No fix listed
pypi asyncssh(PyPI) = 1.2.1 No fix listed
pypi asyncssh(PyPI) = 1.3.0 No fix listed
pypi asyncssh(PyPI) = 1.3.1 No fix listed
pypi asyncssh(PyPI) = 1.3.2 No fix listed
pypi asyncssh(PyPI) = 1.4.0 No fix listed
pypi asyncssh(PyPI) = 1.4.1 No fix listed
pypi asyncssh(PyPI) = 1.5.0 No fix listed
pypi asyncssh(PyPI) = 1.5.1 No fix listed
pypi asyncssh(PyPI) = 1.5.2 No fix listed
pypi asyncssh(PyPI) = 1.5.3 No fix listed
pypi asyncssh(PyPI) = 1.5.4 No fix listed
pypi asyncssh(PyPI) = 1.5.5 No fix listed
pypi asyncssh(PyPI) = 1.5.6 No fix listed
pypi asyncssh(PyPI) = 1.6.0 No fix listed
pypi asyncssh(PyPI) = 1.6.1 No fix listed
pypi asyncssh(PyPI) = 1.6.2 No fix listed
pypi asyncssh(PyPI) = 1.7.1 No fix listed
pypi asyncssh(PyPI) = 1.7.2 No fix listed
pypi asyncssh(PyPI) = 1.7.3 No fix listed
pypi asyncssh(PyPI) = 1.8.0 No fix listed
pypi asyncssh(PyPI) = 1.8.1 No fix listed
pypi asyncssh(PyPI) = 1.9.0 No fix listed
pypi asyncssh(PyPI) = 2.0.0 No fix listed
pypi asyncssh(PyPI) = 2.0.1 No fix listed
pypi asyncssh(PyPI) = 2.1.0 No fix listed
pypi asyncssh(PyPI) = 2.10.0 No fix listed
pypi asyncssh(PyPI) = 2.10.1 No fix listed
pypi asyncssh(PyPI) = 2.11.0 No fix listed
pypi asyncssh(PyPI) = 2.12.0 No fix listed
pypi asyncssh(PyPI) = 2.13.0 No fix listed
pypi asyncssh(PyPI) = 2.13.1 No fix listed
pypi asyncssh(PyPI) = 2.13.2 No fix listed
pypi asyncssh(PyPI) = 2.14.0 No fix listed
pypi asyncssh(PyPI) = 2.14.1 No fix listed
pypi asyncssh(PyPI) = 2.14.2 No fix listed
pypi asyncssh(PyPI) = 2.15.0 No fix listed
pypi asyncssh(PyPI) = 2.16.0 No fix listed
pypi asyncssh(PyPI) = 2.17.0 No fix listed
pypi asyncssh(PyPI) = 2.18.0 No fix listed
pypi asyncssh(PyPI) = 2.19.0 No fix listed
pypi asyncssh(PyPI) = 2.2.0 No fix listed
pypi asyncssh(PyPI) = 2.2.1 No fix listed
pypi asyncssh(PyPI) = 2.20.0 No fix listed
pypi asyncssh(PyPI) = 2.21.0 No fix listed
pypi asyncssh(PyPI) = 2.21.1 No fix listed
pypi asyncssh(PyPI) = 2.22.0 No fix listed
pypi asyncssh(PyPI) = 2.23.0 No fix listed
pypi asyncssh(PyPI) = 2.3.0 No fix listed
pypi asyncssh(PyPI) = 2.4.0 No fix listed
pypi asyncssh(PyPI) = 2.4.1 No fix listed
pypi asyncssh(PyPI) = 2.4.2 No fix listed
pypi asyncssh(PyPI) = 2.5.0 No fix listed
pypi asyncssh(PyPI) = 2.6.0 No fix listed
pypi asyncssh(PyPI) = 2.7.0 No fix listed
pypi asyncssh(PyPI) = 2.7.1 No fix listed
pypi asyncssh(PyPI) = 2.7.2 No fix listed
pypi asyncssh(PyPI) = 2.8.0 No fix listed
pypi asyncssh(PyPI) = 2.8.1 No fix listed
pypi asyncssh(PyPI) = 2.9.0 No fix listed
ronf asyncssh = < 2.23.1 No fix listed
pypi asyncssh(PyPI) <= 2.23.0 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
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.24.0-1 2.24.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
debian/python-asyncssh(Debian:14) = 2.23.0-1 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
ubuntu/python-asyncssh(Ubuntu:26.10) All versions No fix listed

References