#1153577 python-asyncssh: CVE-2026-77473

Package:
src:python-asyncssh
Source:
src:python-asyncssh
Submitter:
Salvatore Bonaccorso
Date:
2026-11-10 07:37:02 UTC
Severity:
normal
Tags:
#1153577#5
Date:
2026-11-10 07:36:16 UTC
From:
To:
Hi,

The following vulnerability was published for python-asyncssh.

CVE-2026-77473[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-77473
https://www.cve.org/CVERecord?id=CVE-2026-77473
[1] https://github.com/ronf/asyncssh/security/advisories/GHSA-q8m6-9rfx-39rf
[2] https://github.com/ronf/asyncssh/commit/eaf7fd3b058ccb36b51ed932158d36cf304aa7c3

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore