CVE-2026-77473 AsyncSSH: SFTP Recursive Copy Path Traversal via Unsanitized Server-Supplied Filenames
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.24.1, recursive remote-to-local SFTP copies in SFTPClient._copy() in asyncssh/sftp.py, reached through get(), mget(), and copy(), trust filenames returned by a remote server's directory enumeration. A malicious or compromised SFTP server can return an absolute filename or a filename containing path separators and parent-directory traversal, causing destination path construction to escape the requested local directory and write attacker-selected content to locations writable by the client process. This issue is fixed in version 2.24.1.
Upgrade path
9 packages: 0 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux python-asyncssh(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| 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 |
| debian/python-asyncssh(Debian 14) | = 2.20.0-1; = 2.21.0-1; = 2.21.1-1; = 2.22.0-1 +5 more | 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 |
| ubuntu/python-asyncssh(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ronf asyncssh | = < 2.24.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ronf asyncssh | = < 2.24.1 | No fix listed |
| debian/python-asyncssh(Debian:12) | All versions | No fix listed |
| debian/python-asyncssh(Debian:14) | All versions | No fix listed |
| debian/python-asyncssh(Debian:13) | 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) | = 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 |
Show 17 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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.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 |
| debian/python-asyncssh(Debian:14) | = 2.24.0-1 | No fix listed |
| debian/python-asyncssh(Debian:14) | = 2.24.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 |
| ubuntu/python-asyncssh(Ubuntu:26.10) | All versions | No fix listed |
| azure linux python-asyncssh(Azure Linux:4.0) | All versions | No fix listed |
References
- https://github.com/ronf/asyncssh/security/advisories/GHSA-q8m6-9rfx-39rf
- https://github.com/ronf/asyncssh/commit/eaf7fd3b058ccb36b51ed932158d36cf304aa7c3
- https://github.com/ronf/asyncssh/releases/tag/v2.24.1
- Debian Security Tracker CVE-2026-77473 vendor-advisory
- bugs.debian.org issue-tracking
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- ENISA EUVD EUVD-2026-120480 third-party-advisory