{"id":"CVE-2026-102643","summary":"AsyncSSH: SFTPServer Chroot Escape","details":"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.","aliases":["GHSA-w29m-45fc-22v9"],"modified":"2026-11-19T17:27:40.180584593Z","published":"2026-11-09T21:51:35.575Z","related":["openSUSE-SU-2026:22281-1","openSUSE-SU-2026:22360-1"],"database_specific":{"cwe_ids":["CWE-22","CWE-50"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102643.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/ronf/asyncssh/releases/tag/v2.24.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102643.json"},{"type":"ADVISORY","url":"https://github.com/ronf/asyncssh/security/advisories/GHSA-w29m-45fc-22v9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102643"},{"type":"FIX","url":"https://github.com/ronf/asyncssh/commit/d4fc430d37b234cb35f1ba2cca834b2dbe1302cf"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ronf/asyncssh","events":[{"introduced":"0"},{"fixed":"5dbdf18494589a6de7065f9fb89bd5d716f36a35"},{"fixed":"d4fc430d37b234cb35f1ba2cca834b2dbe1302cf"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"2.24.1"}]},{"range":[{"fixed":"d4fc430d37b234cb35f1ba2cca834b2dbe1302cf"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"v2.24.1","range":[{"fixed":"5dbdf18494589a6de7065f9fb89bd5d716f36a35"}]}]}}],"versions":["v2.24.0","v2.23.1","v2.23.0","v2.22.0","v2.21.1","v2.21.0","v2.20.0","v2.19.0","v2.18.0","v2.17.0","v2.16.0","v2.15.0","v2.14.2","v2.14.1","v2.14.0","v2.13.2","v2.13.1","v2.13.0","v2.12.0","v2.11.0","v2.10.1","v2.10.0","v2.9.0","v2.8.1","v2.8.0","v2.7.2","v2.7.1","v2.7.0","v2.6.0","v2.5.0","v2.4.2","v2.4.1","v2.4.0","v2.3.0","v2.2.1","v2.2.0","v2.1.0","v2.0.1","v2.0.0","v1.18.0","v1.17.1","v1.17.0","v1.16.1","v1.16.0","v1.15.1","v1.15.0","v1.14.0","v1.13.3","v1.13.2","v1.13.1","v1.13.0","v1.12.2","v1.12.1","v1.12.0","v1.11.1","v1.11.0","v1.10.1","v1.10.0","v1.9.0","v1.8.1","v1.8.0","v1.7.3","v1.7.2","v1.7.1","v1.6.2","v1.6.1","v1.6.0","v1.5.6","v1.5.5","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.1","v1.4.0","v1.3.2","v1.3.1","v1.3.0","v1.2.1","v1.2.0","v1.1.1","v1.1.0","v1.0.1","v1.0.0","v0.9.2","v0.9.1","v0.9.0","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-102643.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}