Affected versions
- Affected versions
- * || =1.2.0-1 || =1.2.1-1 || =1.3.0-1
- Fixed version
- Not reported
- Affected versions
- * || =1.12.2-1 || =1.12.2-1ubuntu0.1 || =1.12.2-1ubuntu0.2
- Fixed version
- Not reported
- Affected versions
- * || =2.20.0-1 || =2.21.1-1
- Fixed version
- Not reported
- Affected versions
- * || =2.21.1-1 || =2.23.0-1
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- * || =2.10.1-2 || =2.10.1-2ubuntu0.1 || =2.10.1-2ubuntu0.1+esm1
- Fixed version
- Not reported
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.
Links
- https://github.com/ronf/asyncssh/commit/d4fc430d37b234cb35f1ba2cca834b2dbe1302cf
- https://github.com/ronf/asyncssh/releases/tag/v2.24.1
- https://github.com/ronf/asyncssh/security/advisories/GHSA-w29m-45fc-22v9
- https://ubuntu.com/security/CVE-2026-102643
- https://www.cve.org/CVERecord?id=CVE-2026-102643

