Directory Traversal Affecting py3.12-asyncssh package, versions <2.24.0-r0


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-MINIMOSLATEST-PY312ASYNCSSH-19157676
  • published22 Aug 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?

Upgrade Minimos:latest py3.12-asyncssh to version 2.24.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3.12-asyncssh package and not the py3.12-asyncssh package as distributed by Minimos. See How to fix? for Minimos: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.