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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22",
"CWE-50"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102643.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.24.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "d4fc430d37b234cb35f1ba2cca834b2dbe1302cf"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.24.1",
"range": [
{
"fixed": "5dbdf18494589a6de7065f9fb89bd5d716f36a35"
}
],
"source": "REFERENCES_TAG"
}
]
}