Asyncssh
Monthly
Chroot escape in AsyncSSH's SFTP server (versions <= 2.24.0) lets an authenticated SFTP user read and write files outside the configured chroot directory by submitting a path that begins with exactly two slash characters (for example //etc/passwd). Because POSIX path normalization preserves the double-leading-slash form, the single slash stripped before joining with the chroot leaves an absolute path that discards the chroot prefix entirely, so file operations execute with the operating-system permissions of the account running the server; the vendor advisory demonstrates reading /etc/passwd and overwriting a user's .bashrc, which can be chained into code execution where writable, auto-loaded targets exist. Only servers that instantiate SFTPServer with a chroot are affected, the attacker must already hold a valid authenticated session (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8), no CISA KEV entry or confirmed exploitation is recorded, and exploitation requires the precise two-slash condition since three or more leading slashes collapse to a single slash and remain inside the chroot. AsyncSSH 2.24.1 contains the fix and the issue is prioritised for remediation this week; public proof-of-concept reproduction steps are published in the vendor advisory.
Path traversal in AsyncSSH's recursive remote-to-local SFTP copy logic (SFTPClient._copy(), reached through get(), mget() and copy() with recurse=True) allows a malicious or compromised SFTP server to plant attacker-chosen files outside the requested local destination directory. Every release prior to 2.24.1 is affected; the server supplies the filename in its readdir/SSH_FXP_NAME response, and posixpath.join either walks up out of the destination with '../' segments or discards the destination entirely when the name is absolute. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N) reflects that the victim must initiate a recursive download from the hostile server, with writes limited to locations the client process can already modify; a public proof-of-concept with a working demonstration script accompanies the advisory, and the issue is not listed in CISA KEV with no confirmed active exploitation at time of analysis.
A peer-supplied maximum packet size of zero is accepted during SSH channel-open negotiation in AsyncSSH versions prior to 2.24.0, and the resulting zero-byte send-window processing drives SSHChannel._flush_send_buf into a synchronous infinite loop with no await point, permanently freezing the asyncio event loop. Because the loop is synchronous, a single trigger halts every current and future connection handled by that process, producing a complete denial of service rather than a per-connection failure. The server path is reachable by an authenticated client sending SSH_MSG_CHANNEL_OPEN with send_pktsize=0, while the client path is reachable by a malicious or compromised SSH server sending SSH_MSG_CHANNEL_OPEN_CONFIRMATION with send_pktsize=0 before the first channel write, so exploitation requires the AsyncSSH client to initiate a connection to that server. No public exploit identified at time of analysis, the issue is availability-only (no confidentiality or integrity impact), and vendor-released patch version 2.24.0 addresses it.
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no authentication required. Public exploit code available and EPSS exploitation probability 53.6%.
An issue in AsyncSSH before 2.14.1 allows attackers to control the remote end of an SSH client session via packet injection/removal and shell emulation, aka a "Rogue Session Attack.". Rated medium severity (CVSS 6.8), this vulnerability is remotely exploitable. No vendor patch available.
An issue in AsyncSSH before 2.14.1 allows attackers to control the extension info message (RFC 8308) via a man-in-the-middle attack, aka a "Rogue Extension Negotiation.". Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no authentication required. No vendor patch available.
The SSH server implementation of AsyncSSH before 1.12.1 does not properly check whether authentication is completed before processing other requests. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.
Chroot escape in AsyncSSH's SFTP server (versions <= 2.24.0) lets an authenticated SFTP user read and write files outside the configured chroot directory by submitting a path that begins with exactly two slash characters (for example //etc/passwd). Because POSIX path normalization preserves the double-leading-slash form, the single slash stripped before joining with the chroot leaves an absolute path that discards the chroot prefix entirely, so file operations execute with the operating-system permissions of the account running the server; the vendor advisory demonstrates reading /etc/passwd and overwriting a user's .bashrc, which can be chained into code execution where writable, auto-loaded targets exist. Only servers that instantiate SFTPServer with a chroot are affected, the attacker must already hold a valid authenticated session (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8), no CISA KEV entry or confirmed exploitation is recorded, and exploitation requires the precise two-slash condition since three or more leading slashes collapse to a single slash and remain inside the chroot. AsyncSSH 2.24.1 contains the fix and the issue is prioritised for remediation this week; public proof-of-concept reproduction steps are published in the vendor advisory.
Path traversal in AsyncSSH's recursive remote-to-local SFTP copy logic (SFTPClient._copy(), reached through get(), mget() and copy() with recurse=True) allows a malicious or compromised SFTP server to plant attacker-chosen files outside the requested local destination directory. Every release prior to 2.24.1 is affected; the server supplies the filename in its readdir/SSH_FXP_NAME response, and posixpath.join either walks up out of the destination with '../' segments or discards the destination entirely when the name is absolute. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N) reflects that the victim must initiate a recursive download from the hostile server, with writes limited to locations the client process can already modify; a public proof-of-concept with a working demonstration script accompanies the advisory, and the issue is not listed in CISA KEV with no confirmed active exploitation at time of analysis.
A peer-supplied maximum packet size of zero is accepted during SSH channel-open negotiation in AsyncSSH versions prior to 2.24.0, and the resulting zero-byte send-window processing drives SSHChannel._flush_send_buf into a synchronous infinite loop with no await point, permanently freezing the asyncio event loop. Because the loop is synchronous, a single trigger halts every current and future connection handled by that process, producing a complete denial of service rather than a per-connection failure. The server path is reachable by an authenticated client sending SSH_MSG_CHANNEL_OPEN with send_pktsize=0, while the client path is reachable by a malicious or compromised SSH server sending SSH_MSG_CHANNEL_OPEN_CONFIRMATION with send_pktsize=0 before the first channel write, so exploitation requires the AsyncSSH client to initiate a connection to that server. No public exploit identified at time of analysis, the issue is availability-only (no confidentiality or integrity impact), and vendor-released patch version 2.24.0 addresses it.
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no authentication required. Public exploit code available and EPSS exploitation probability 53.6%.
An issue in AsyncSSH before 2.14.1 allows attackers to control the remote end of an SSH client session via packet injection/removal and shell emulation, aka a "Rogue Session Attack.". Rated medium severity (CVSS 6.8), this vulnerability is remotely exploitable. No vendor patch available.
An issue in AsyncSSH before 2.14.1 allows attackers to control the extension info message (RFC 8308) via a man-in-the-middle attack, aka a "Rogue Extension Negotiation.". Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no authentication required. No vendor patch available.
The SSH server implementation of AsyncSSH before 1.12.1 does not properly check whether authentication is completed before processing other requests. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.