6.5medium
AsyncSSH: SFTP Recursive Copy Path Traversal via Unsanitized Server-Supplied Filenames
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.65% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ronf asyncssh | < 2.24.1 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-77473 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2026-77473 changed 2026-11-12 | Public domain |