---
id: CVE-2026-102643
title: 'AsyncSSH: SFTPServer Chroot Escape'
summary: >-
  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-suppl…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-22
  - CWE-50
vendor: ronf
product: asyncssh
affected:
  - asyncssh < 2.24.1
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-14T02:24:12.890346Z'
exploitAvailable: true
published: '2026-11-09'
updated: '2026-11-14'
sourceUpdated: '2026-11-14T02:24:34.351Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-102643'
references:
  - url: 'https://github.com/ronf/asyncssh/security/advisories/GHSA-w29m-45fc-22v9'
    label: 'https://github.com/ronf/asyncssh/security/advisories/GHSA-w29m-45fc-22v9'
  - url: >-
      https://github.com/ronf/asyncssh/commit/d4fc430d37b234cb35f1ba2cca834b2dbe1302cf
    label: >-
      https://github.com/ronf/asyncssh/commit/d4fc430d37b234cb35f1ba2cca834b2dbe1302cf
  - url: 'https://github.com/ronf/asyncssh/releases/tag/v2.24.1'
    label: 'https://github.com/ronf/asyncssh/releases/tag/v2.24.1'
tags:
  - cve.org
  - exploit-available
epss: 0.00693
epssPercentile: 0.54204
ingestedAt: '2026-11-09T22:29:47.308Z'
---

## Overview

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.

## Affected

- `asyncssh < 2.24.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
