CVE-2026-102643AsyncSSH: SFTPServer Chroot Escape
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-102643 | |
| Ubuntu 26.04 | python-asyncssh | Under investigation | UBUNTU-CVE-2026-102643 | |
| Ubuntu 24.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-102643 | |
| Ubuntu 22.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-102643 | |
| Ubuntu 20.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-102643 | |
| Ubuntu 18.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-102643 | |
| Ubuntu 16.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-102643 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ronf asyncssh: affected: < 2.24.1
References
- https://github.com/ronf/asyncssh/security/advisories/GHSA-w29m-45fc-22v9
- https://github.com/ronf/asyncssh/commit/d4fc430d37b234cb35f1ba2cca834b2dbe1302cf
- https://github.com/ronf/asyncssh/releases/tag/v2.24.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.