Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as SFTP user
-
DeliverySend path with two leading slashes
-
Exploitnormpath preserves double-slash, join treats as absolute
-
ExecutionRead/write outside chroot as server account
-
ImpactOverwrite writable target for arbitrary file R/W or RCE
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the AsyncSSH server instantiate SFTPServer with a configured chroot (the vulnerable map_path() branch only runs when self._chroot is set); servers without chroot are not affected by this bypass. The attacker must be an authenticated SFTP user (PR:L) with an established session. The trigger is specific and described in the sources: a client-supplied path beginning with exactly two slash characters (e.g. //etc/passwd); the advisory confirms three-or-more leading slashes collapse to one and are NOT exploitable, so the condition is precisely two leading slashes. Impact is bounded by the OS permissions of the account running the server - reads and writes are limited to what that account can access, and escalation to code execution depends on the existence of writable, executable-on-load targets (e.g. a user's .bashrc) in that account's reachable filesystem. Affected versions are AsyncSSH <= 2.24.0. |
| Impact | This is a genuine high-priority issue, not a high-CVSS-but-low-real-risk case. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8) is internally consistent with the mechanism: a network-reachable SFTP service, low attack complexity (a single path beginning with exactly two slashes), and only low privileges (any authenticated SFTP account) yield full confidentiality/integrity/availability impact over files accessible to the server's OS account. The vuln.today decision label is 'this_week' rather than act_now/emergency, which aligns with there being no CISA KEV listing and no EPSS score in the provided data - exploitation is demonstrated but not reported as active in the wild. The GHSA advisory includes concrete, working scp exploitation commands, so the practical barrier to exploitation is very low for anyone who already holds SFTP credentials. The main factor that constrains real-world risk is the deployment precondition: only servers that instantiate AsyncSSH's SFTPServer with a configured chroot are affected, and the attacker must already be an authenticated user. No KEV, no EPSS, and no SSVC decision vector were supplied, so widespread-versus-targeted exploitation cannot be judged from the inputs; however, given a public working PoC and trivial complexity, affected operators should treat this as a near-term patch item consistent with the 'this_week' label. |
| Exploit ScenarioDerived | An authenticated SFTP user connects to an AsyncSSH SFTPServer that was set up with a per-user chroot and issues a transfer for a path beginning with exactly two slashes, e.g. 'scp -P 8022 testuser@host://etc/passwd out.txt'. Because posixpath.normpath() preserves the double-leading-slash form and the subsequent join treats the remainder as absolute, the chroot is bypassed, letting the user read or write any file the server account can access. A detailed public PoC exists in the GHSA advisory (including overwriting a victim's ~/.bashrc), demonstrating escalation to code execution depending on writable targets; the CVSS AC:L/PR:L reflects that this requires only valid credentials and a trivially crafted path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Chroot escape in AsyncSSH's SFTP server (versions <= 2.24.0) lets an authenticated SFTP user read and write files outside the configured chroot directory by submitting a path that begins with exactly two slash characters (for example //etc/passwd). Because POSIX path normalization preserves the double-leading-slash form, the single slash stripped before joining with the chroot leaves an absolute path that discards the chroot prefix entirely, so file operations execute with the operating-system permissions of the account running the server; the vendor advisory demonstrates reading /etc/passwd and overwriting a user's .bashrc, which can be chained into code execution where writable, auto-loaded targets exist. Only servers that instantiate SFTPServer with a chroot are affected, the attacker must already hold a valid authenticated session (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8), no CISA KEV entry or confirmed exploitation is recorded, and exploitation requires the precise two-slash condition since three or more leading slashes collapse to a single slash and remain inside the chroot. AsyncSSH 2.24.1 contains the fix and the issue is prioritised for remediation this week; public proof-of-concept reproduction steps are published in the vendor advisory.
RemediationAI
Upgrade AsyncSSH to version 2.24.1, the release that replaces the single-slash strip in SFTPServer.map_path() with normpath.lstrip(b'/') and thereby closes the double-leading-slash escape; the vendor states that 2.24.1 is the fix and the advisory tracks the vulnerable range as <= 2.24.0, so pin asyncssh>=2.24.1 and rebuild or redeploy any bundled copies. Confirmed artefacts are the GHSA advisory at https://github.com/ronf/asyncssh/security/advisories/GHSA-w29m-45fc-22v9 and the patch commit at https://github.com/ronf/asyncssh/commit/d4fc430d37b234cb35f1ba2cca834b2dbe1302cf if a backport into a vendored source tree is required. Until the upgrade is deployed, the practical containment lever described in the evidence is the privilege boundary itself: the escape yields only the filesystem rights of the account that launched SFTPServer, so running that service under a dedicated low-privilege account with no writable, auto-loaded targets (such as shell startup files or importable modules) in its reachable filesystem limits both the read exposure and the reported path from arbitrary write to code execution. Note that simply removing the chroot argument is not a remediation, since it eliminates containment rather than restoring it. No CISA KEV listing or confirmed in-the-wild exploitation is recorded, and the item is prioritised to be addressed this week rather than as an immediate emergency.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AsyncSSH implements the SSHv2 client and server protocols on top of Python's asyncio framework, and its SFTPServer class provides a chrooted file service in which map_path() translates client-supplied SFTP pathnames into paths on the host filesystem. The vulnerable build normalises the incoming path with posixpath.normpath(posixpath.join(b'/', path)) and then joins the result onto the configured chroot after removing exactly one leading slash with normpath[1:]. That combination is unsound because POSIX.1-2024 §4.16 permits an implementation-defined interpretation of a pathname beginning with exactly two successive slashes, and Python's posixpath.normpath honours this by preserving the // prefix; posixpath.join then treats the remaining component as absolute and discards the chroot prefix. The result is CWE-22 (path traversal) and, as the advisory additionally classifies it, CWE-50 (path equivalence), since the server and the OS disagree about which pathname the client actually referenced. The upstream fix in commit d4fc430d37b234cb35f1ba2cca834b2dbe1302cf replaces normpath[1:] with normpath.lstrip(b'/'), stripping every leading slash so the joined path cannot re-ascend to an absolute root. The vulnerability is reachable only through the self._chroot branch of map_path(); when no chroot is configured the method returns the client path unchanged and no bypass of this kind applies. Trigger conditions are fully documented in the advisory and reproduced in a Python 3.24.0 environment using scp against the example SFTPServer.
Know when Asyncssh gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable SFTP service (AV:N), trivial crafted double-slash path (AC:L), any authenticated SFTP account (PR:L), no user interaction (UI:N); arbitrary file read/write as the server account gives C/I/A High within its own permission scope (S:U).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.24.1, SFTPServer.map_path() uses posixpath.normpath() on a client-supplied path and removes only one leading slash before passing the result to posixpath.join() with the configured chroot. An authenticated SFTP user can supply a path beginning with exactly two slash characters, causing POSIX normalization to preserve the double-leading-slash form and the subsequent join to treat the remaining pathname as absolute. This bypasses the SFTP chroot and permits reads and writes with the operating-system permissions of the account running the server, which may enable code execution depending on writable targets. This issue is fixed in version 2.24.1.
Articles & Coverage 1
Technical POC Analysis
CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), specifically CWE-50 path equivalence with //multiple/leading/slash.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-102643 is a high-severity chroot escape in AsyncSSH's SFTP server (versions <= 2.24.0) that allows any authenticated SFTP user to access files outside their designated directory, potentially leading to data exposure and system compromise. Organizations using AsyncSSH to provide SFTP access for partners, customers, or internal users are at risk of unauthorized file reads and writes, which could escalate to code execution if writable auto-loaded targets exist. Leadership should prioritize inventory and mitigation because this flaw undermines a key security boundary and could result in data breaches or operational disruption.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict SFTP access to trusted users; disable chroot-based SFTP if feasible; monitor for double-slash path patterns; enforce least privilege for the SFTP service account; implement file integrity monitoring on critical files; consider network segmentation to limit exposure.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The SSH server implementation of AsyncSSH before 1.12.1 does not properly check whether authentication is completed befo
An issue in AsyncSSH before 2.14.1 allows attackers to control the remote end of an SSH client session via packet inject
Path traversal in AsyncSSH's recursive remote-to-local SFTP copy logic (SFTPClient._copy(), reached through get(), mget(
A peer-supplied maximum packet size of zero is accepted during SSH channel-open negotiation in AsyncSSH versions prior t
An issue in AsyncSSH before 2.14.1 allows attackers to control the extension info message (RFC 8308) via a man-in-the-mi
EUVD-2026-120504
NVD
CVE.org
EPSS
GitHub
Exploit-DB