CVE-2026-77473AsyncSSH: SFTP Recursive Copy Path Traversal via Unsanitized Server-Supplied Filenames
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-77473 | |
| Ubuntu 26.04 | python-asyncssh | Under investigation | UBUNTU-CVE-2026-77473 | |
| Ubuntu 24.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-77473 | |
| Ubuntu 22.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-77473 | |
| Ubuntu 20.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-77473 | |
| Ubuntu 18.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-77473 | |
| Ubuntu 16.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-77473 | |
| Debian 14 | python-asyncssh | Fix pending | DEBIAN-CVE-2026-77473 | |
| Debian 13 | python-asyncssh | Fix pending | DEBIAN-CVE-2026-77473 | |
| Debian 12 | python-asyncssh | Fix pending | DEBIAN-CVE-2026-77473 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ronf asyncssh: affected: < 2.24.1
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.