CVE-2026-54591ronf asyncssh
High 8.1 No auth needed
Follow: this CVE · ronf · ronf asyncssh We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- —
- Auth required
- No
- Published
- Jul 8, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for asyncssh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | asyncssh |
< 2.23.1 |
2.23.1 |
pip install "asyncssh>=2.23.1" |
| PyPI | asyncssh |
< 2.23.1 |
2.23.1 |
pip install "asyncssh>=2.23.1" |
Per OSV / GitHub Advisories (GHSA-2wxc-x7rj-hg8f, PYSEC-2026-3808). Check the version in your lockfile before upgrading.
Affected products
- ronf · asyncssh
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.