{"id":"CVE-2026-102643","published":"2026-11-09T21:51:35Z","modified":"2026-11-14T02:24:34Z","title":"AsyncSSH: SFTPServer Chroot Escape","vendor":"ronf","product":"asyncssh","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00693,"percentile":0.53825,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-50","name":"Path Equivalence: '//multiple/leading/slash'"}],"references":[{"url":"https://github.com/ronf/asyncssh/security/advisories/GHSA-w29m-45fc-22v9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ronf/asyncssh/commit/d4fc430d37b234cb35f1ba2cca834b2dbe1302cf","tags":["x_refsource_MISC"]},{"url":"https://github.com/ronf/asyncssh/releases/tag/v2.24.1","tags":["x_refsource_MISC"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":10.77},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"ronf","affectedVersions":[{"vendor":"ronf","product":"asyncssh","versions":["< 2.24.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-11-14T02:24:12.890346Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-120504","exploited":false,"provenance":"source"}}