# CVE-2026-77473: AsyncSSH: SFTP Recursive Copy Path Traversal via Unsanitized Server-Supplied Filenames

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-11-09T21:51:51.146Z
- Modified: 2026-11-12T22:18:51.470Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- ronf asyncssh: < 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>

## Sources

- CVE List: [CVE-2026-77473](https://www.cve.org/CVERecord?id=CVE-2026-77473), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-77473](https://nvd.nist.gov/vuln/detail/CVE-2026-77473), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-77473 · Whole record: https://cve.day/CVE-2026-77473.json · Rebuilt by cve.day 2026-11-25T22:59:49.679Z
