Directory Traversal Affecting python-asyncssh package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.49% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PYTHONASYNCSSH-19946242
  • published19 Sept 2026
  • disclosed8 Jul 2026

Introduced: 8 Jul 2026

CVE-2026-54591  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest python-asyncssh.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-asyncssh package and not the python-asyncssh package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.23.1, a malicious SSH server can write arbitrary files on the asyncssh SCP client's filesystem by sending filenames containing ../ traversal sequences because _parse_cd_args in scp.py returns server-provided names verbatim and _recv_files joins them to the destination path without enforcing the target directory boundary. This issue is fixed in version 2.23.1.