CVE-2026-102643 AsyncSSH: SFTPServer Chroot Escape
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- Ubuntu
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.
Upgrade path
5 packages: 0 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/python-asyncssh(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-asyncssh(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-asyncssh(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-asyncssh(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ronf asyncssh | = < 2.24.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ronf asyncssh | = < 2.24.1 | No fix listed |
| ubuntu/python-asyncssh(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python-asyncssh(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python-asyncssh(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/python-asyncssh(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/ronf/asyncssh/security/advisories/GHSA-w29m-45fc-22v9 exploit
- https://github.com/ronf/asyncssh/commit/d4fc430d37b234cb35f1ba2cca834b2dbe1302cf
- https://github.com/ronf/asyncssh/releases/tag/v2.24.1
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-120504 third-party-advisory