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…

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 versions prior to 2.23.1 contain a path traversal vulnerability in the SCP client implementation. A malicious SSH server can exploit this by sending crafted filenames with '../' sequences, causing arbitrary file writes outside the intended directory. This issue is resolved 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/08/2026, 20:58:50 UTC

Technical Analysis

AsyncSSH is a Python package implementing SSHv2 asynchronously. Versions before 2.23.1 have a CWE-22 path traversal vulnerability in the SCP client. The vulnerability arises because the _parse_cd_args function returns server-supplied filenames verbatim, and _recv_files joins these names to the destination path without restricting directory boundaries. This allows a malicious SSH server to write files arbitrarily 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 to arbitrary locations on the client's filesystem, potentially leading to integrity violations and denial of availability. There is no confidentiality impact reported. The CVSS v3.1 score is 8.1 (High), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, unchanged scope, no confidentiality impact, high integrity and availability impact.

Mitigation Recommendations

Upgrade AsyncSSH to version 2.23.1 or later, where this path traversal vulnerability is fixed. No other mitigation or workaround is indicated. Patch status is not explicitly stated in the vendor advisory, but the fix is confirmed in version 2.23.1.

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/08/2026, 20:58:50 UTC

Last updated: 07/08/2026, 22:23:01 UTC

Views: 3

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