Shellfeed logo Shellfeed

CVE-2026-77473 · MEDIUM (CVSS 6.5)

Summary: AsyncSSH: SFTP Recursive Copy Path Traversal via Unsanitized Server-Supplied Filenames

EPSS: 0.5% probability of exploitation in the next 30 days (percentile 46.2).

Details

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.

Severity

MEDIUM (CVSS 6.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected packages

  • GIT github.com/ronf/asyncssh [0 – 5dbdf18494589a6de7065f9fb89bd5d716f36a35]

References

Posts about CVE-2026-77473