Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 76%

CVE-2026-54591: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in ronf asyncssh

0
High
VulnerabilityCVE-2026-54591cvecve-2026-54591cwe-22
Published: 07/08/2026 (07/08/2026, 20:33:57 UTC)
Source: CVE Database V5
Vendor/Project: ronf
Product: asyncssh

Description

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.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Affected software

asyncssh
pkg:pypi/asyncssh
Affected versions
<2.23.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 10:04:52 UTC

Technical Analysis

AsyncSSH is a Python package implementing SSHv2 asynchronously. Before version 2.23.1, the SCP client improperly handles server-supplied filenames containing path traversal sequences ('../'). The function _parse_cd_args returns these names verbatim, and _recv_files joins them to the destination path without enforcing directory boundaries. This allows a malicious SSH server to write arbitrary files anywhere on the client's filesystem. The vulnerability is fixed in version 2.23.1.

Potential Impact

An attacker controlling an SSH server can cause the AsyncSSH SCP client to write files arbitrarily on the client's filesystem, potentially overwriting critical files or placing malicious files. This can lead to integrity and availability impacts on the client system. Confidentiality impact is not indicated. No known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade AsyncSSH to version 2.23.1 or later where this path traversal vulnerability is fixed. No other mitigations are specified. Patch status is confirmed by the version fix indication.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-15T19:45:23.539Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4eb690c9d9e3dbe3b6872a

Added to database: 07/08/2026, 20:44:00 UTC

Last enriched: 07/16/2026, 10:04:52 UTC

Last updated: 08/22/2026, 22:52:14 UTC

Views: 60

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses