PT-2026-56578 · Pypi · Asyncssh

CVE-2026-54591

·

Published

2026-07-08

·

Updated

2026-09-10

CVSS v3.1

8.1

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions AsyncSSH versions prior to 2.23.1
Description AsyncSSH is a Python package providing an asynchronous client and server implementation of the SSHv2 protocol. A malicious SSH server can write arbitrary files on the SCP client's filesystem by sending filenames containing directory traversal sequences (../). This occurs because the parse cd args() function in scp.py returns server-provided names verbatim, and the recv files() function joins them to the destination path without enforcing the target directory boundary.
Recommendations Update to version 2.23.1.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54591
ECHO-BA32-5913-3705
GHSA-2WXC-X7RJ-HG8F
PYSEC-2026-3808

Affected Products

Asyncssh