CVE-2026-102643
published high CVSS 3.1 · 8.8AsyncSSH: SFTPServer Chroot Escape
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ronf | — | asyncssh< 2.24.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-asyncsshnoarch | Advisory build | 2.21.0-bp160.3.1 | OPENSUSE-SU-2026:22281-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-asyncsshnoarch | Advisory build | 2.21.0-bp161.3.1 | OPENSUSE-SU-2026:22360-1 |
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.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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ronf | asyncssh | < 2.24.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-50 CWE-50: Path Equivalence: '//multiple/leading/slash'
References
3Provider assertions
2GitHub_M · cna
AsyncSSH: SFTPServer Chroot Escape
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 58714d394b42096567630e0e4a51a062e4567f9451166579c4604b72050e31c3
- Ingested
- 14 Nov 2026, 02:29:39 UTC
- Source record
- Official CVE record