SB2026112809 - Multiple vulnerabilities in AsyncSSH
Published: November 28, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 23 vulnerabilities.
1) Inefficient regular expression complexity (CVE-ID: N/A)
CWE-ID: CWE-1333 - Inefficient Regular Expression Complexity
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause a denial of service that can stall all connections handled by the same process.
The vulnerability exists due to unsafe regular expression construction in the PEM key parser when it uses unescaped header text to build the footer matcher. A remote attacker can supply a crafted PEM key for import to block the event loop through excessive backtracking or disrupt callers by triggering an unexpected regular expression exception.
2) OS Command Injection (CVE-ID: N/A)
CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSSv4: 7.6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to execute arbitrary commands on the SSH server with the privileges of the account used by the client.
The vulnerability exists due to improper neutralization of shell metacharacters in AsyncSSH's RemoteCommand handling when a matching client configuration substitutes host or user names into the command. A remote user can supply a crafted host or user name through an application that passes it to AsyncSSH to execute commands in the server-side login shell after the client authenticates.
3) Interpretation Conflict (CVE-ID: N/A)
CWE-ID: CWE-436 - Interpretation Conflict
CVSSv4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote privileged user to exercise permissions that a trusted certificate authority did not intend to grant, such as port forwarding, agent forwarding, X11 forwarding, or PTY allocation.
The vulnerability exists due to an interpretation conflict in AsyncSSH's OpenSSH certificate parser when it skips an unrecognized extension's name but interprets its data as the next extension name. A remote privileged user can present a certificate with attacker-influenced extension data issued by a trusted certificate authority that uses nonstandard encoding to obtain unintended permissions.
4) Asymmetric Resource Consumption (Amplification) (CVE-ID: N/A)
CWE-ID: CWE-405 - Asymmetric Resource Consumption (Amplification)
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause a denial of service that delays or prevents new SSH connections and slows existing sessions.
The vulnerability exists due to asymmetric resource consumption in AsyncSSH's server-side rsa2048-sha256 key exchange when the server generates a fresh 2048-bit RSA key for each connection before authentication without yielding to the event loop. A remote attacker can use unauthenticated key exchange traffic to exhaust server CPU capacity and disrupt SSH service.
5) Improper Authentication (CVE-ID: N/A)
CWE-ID: CWE-287 - Improper Authentication
CVSSv4: 7.4 [CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote privileged user to bypass authentication and gain unauthorized access to user accounts on servers with affected configurations.
The vulnerability exists due to improper scoping of trust in AsyncSSH server authentication when host-based authentication attempts add trusted host keys and X.509 certificates to connection-wide state. A remote privileged user can misuse a trusted host key to impersonate another known host or present a user certificate backed by a host-only trust anchor to gain unauthorized account access.
6) Argument injection (CVE-ID: N/A)
CWE-ID: CWE-88 - Argument Injection or Modification
CVSSv4: 7.6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to inject proxy command arguments, potentially execute code with the application's local privileges, or disclose environment variable values.
The vulnerability exists due to improper neutralization of argument delimiters in AsyncSSH's OpenSSH client configuration handling when a matching ProxyCommand substitutes host or user names before splitting arguments and, in some versions, before expanding environment variable references. A remote user can supply a crafted host or user name to alter the proxy program's arguments or expose environment variable values through them.
7) Reversible One-Way Hash (CVE-ID: N/A)
CWE-ID: CWE-328 - Use of Weak Hash
CVSSv4: 1.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to weaken the integrity guarantees of SSHSIG signature verification.
The vulnerability exists due to acceptance of the weak SHA-1 hash in AsyncSSH's SSHSIG verifier when checking RSA signatures. A remote attacker can present a signature that uses the prohibited SHA-1-based ssh-rsa algorithm to bypass the SSHSIG algorithm restriction, but acceptance alone does not establish forgery.
8) Improper Check for Certificate Revocation (CVE-ID: N/A)
CWE-ID: CWE-299 - Improper Check for Certificate Revocation
CVSSv4: 9.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to impersonate an SSH server on a non-default port and potentially read or modify session data.
The vulnerability exists due to improper revocation checking in AsyncSSH's known_hosts verification when fallback to a host entry without a port discards port-specific revocations for host keys, X.509 certificates, or X.509 subject names. A remote attacker can use the corresponding private key during an intercepted or redirected connection to impersonate the server if a matching trust entry without a port remains.
9) Improper Certificate Validation (CVE-ID: N/A)
CWE-ID: CWE-295 - Improper Certificate Validation
CVSSv4: 2.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to impersonate an authorized SSHSIG signer.
The vulnerability exists due to improper certificate validation in AsyncSSH's validate_sshsig function when verifying signatures against a cert-authority entry: it accepts host certificates with a matching principal and treats user certificates with no principals as valid for any signer. A remote user can submit a signature backed by either type of certificate from the trusted authority to impersonate an authorized signer.
10) Improper Authentication (CVE-ID: N/A)
CWE-ID: CWE-287 - Improper Authentication
CVSSv4: 5.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to send unauthorized requests to the SSH client's local X server without receiving responses.
The vulnerability exists due to improper authentication in the SSH client's X11 forwarder, which leaves the connection to the local X server open when it rejects an invalid forwarding cookie. A remote user can use an accessible forwarded display to issue requests without a valid forwarding cookie if the local X server accepts local connections without requiring its own cookie.
11) Improper handling of highly compressed data (CVE-ID: N/A)
CWE-ID: CWE-409 - Improper Handling of Highly Compressed Data (Data Amplification)
CVSSv4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to cause a denial of service affecting all connections handled by the same AsyncSSH process.
The vulnerability exists due to unbounded decompression in the SSH packet receive path when the packet size limit is enforced only on compressed input. A remote user can abuse negotiated compression after logging in to trigger excessive memory allocation and block the shared event loop.
12) Reliance on Reverse DNS Resolution for a Security-Critical Action (CVE-ID: N/A)
CWE-ID: CWE-350 - Reliance on Reverse DNS Resolution for a Security-Critical Action
CVSSv4: 7.6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to bypass client host restrictions and gain unauthorized access using valid credentials.
The vulnerability exists due to improper verification of client host names in the AsyncSSH server when it uses unverified reverse DNS results for host restrictions and host-based authentication or passes a client-claimed name to an authorization callback without confirming that it matches the identity verified by the host key check. A remote user can present valid credentials under a misleading host identity to gain access reserved for a trusted client host.
13) Link following (CVE-ID: N/A)
CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')
CVSSv4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to read or modify files outside the SFTP chroot within the server process's permissions.
The vulnerability exists due to improper symbolic link resolution in the AsyncSSH SFTP server when it rewrites a new link's target without resolving symbolic links in the link's parent path. A remote user can exploit this mismatch through SFTP link creation to access or modify files outside the chroot.
14) Resource exhaustion (CVE-ID: N/A)
CWE-ID: CWE-400 - Resource exhaustion
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause a denial of service by stalling all connections handled by the same process or disrupting key or certificate imports.
The vulnerability exists due to uncontrolled resource consumption and improper exception handling in the AsyncSSH ASN.1 DER decoder when processing untrusted key or certificate data. A remote attacker can supply malformed key or certificate data, including an X.509 client certificate, to trigger quadratic decoding time or an unexpected exception.
15) Link following (CVE-ID: N/A)
CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')
CVSSv4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to read, create, or overwrite files outside the configured chroot with the privileges of the server process.
The vulnerability exists due to insufficient validation of relative symbolic link targets in AsyncSSH's SFTP server when directories containing those links are renamed. A remote user can abuse either the standard SFTP rename operation or the POSIX rename extension to bypass the chroot boundary.
16) External Control of File Name or Path (CVE-ID: N/A)
CWE-ID: CWE-73 - External Control of File Name or Path
CVSSv4: 5.6 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to create or overwrite unrequested files within the local download destination, potentially leading to code execution or persistent SSH access if the client later executes or trusts those files.
The vulnerability exists due to missing validation in the AsyncSSH SCP client when it accepts server-supplied names without checking them against the requested path. A remote attacker can supply unrequested files or, during a recursive download, directories from a malicious or compromised SCP server to cause unintended local writes.
17) Improper Following of a Certificate's Chain of Trust (CVE-ID: N/A)
CWE-ID: CWE-296 - Improper Following of a Certificate\'s Chain of Trust
CVSSv4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to impersonate any SSH host to AsyncSSH clients or log in as any user on AsyncSSH servers without legitimate credentials when the respective endpoint uses X.509 authentication.
The vulnerability exists due to improper certificate chain trust validation in AsyncSSH when peer-supplied certificates are evaluated in the same trust store as locally configured trust anchors. A remote attacker can present an untrusted certificate chain that AsyncSSH incorrectly accepts to bypass host or user authentication.
18) Unchecked Return Value (CVE-ID: N/A)
CWE-ID: CWE-252 - Unchecked Return Value
CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to weaken the post-quantum protection of their own SSH connection without defeating the classical protection of the hybrid key exchange.
The vulnerability exists due to unchecked return values in AsyncSSH's liboqs binding when generating key pairs, encapsulating, or decapsulating during post-quantum key exchange. A remote attacker can present an invalid ML-KEM public key to make the server continue with a known, all-zero post-quantum shared secret and ciphertext.
19) Asymmetric Resource Consumption (Amplification) (CVE-ID: N/A)
CWE-ID: CWE-405 - Asymmetric Resource Consumption (Amplification)
CVSSv4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to cause a denial of service affecting all connections handled by the same AsyncSSH process.
The vulnerability exists due to asymmetric resource consumption in SSH channel sending when a peer's unusually small packet limit forces AsyncSSH to encrypt many small packets without yielding to the event loop. A remote user can abuse channel packet-size negotiation as a connected client or as a server that an AsyncSSH client connects to, stalling other connections in the same process.
20) External Control of System or Configuration Setting (CVE-ID: N/A)
CWE-ID: CWE-15 - External Control of System or Configuration Setting
CVSSv4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to perform unauthorized privileged operations or access another tenant's data in applications that rely on key-bound environment variables for authorization.
The vulnerability exists due to improper precedence of trusted configuration values in AsyncSSH's server-side session environment handling when client-supplied variables override values configured in authorized_keys. A remote user can override key-bound authorization attributes in a session authenticated with a valid restricted key to gain access beyond what the key permits.
21) Link following (CVE-ID: N/A)
CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')
CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to create or overwrite files outside the requested download directory, potentially causing data loss.
The vulnerability exists due to improper symbolic link resolution in the AsyncSSH SFTP client when recursive downloads check link targets without accounting for links already created during the transfer. A remote attacker can supply chained symbolic links from a malicious SFTP server to redirect file writes outside the requested directory when a victim performs a recursive download.
22) Observable discrepancy (CVE-ID: N/A)
CWE-ID: CWE-203 - Observable discrepancy
CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to recover up to 32 bits of plaintext from an encrypted SSH block, potentially exposing part of a password.
The vulnerability exists due to an observable discrepancy in AsyncSSH packet processing when a connection uses a CBC cipher with a non-encrypt-then-MAC algorithm and the receiver reacts differently based on the decrypted packet length before authenticating it. A remote attacker can tamper with encrypted traffic while in the network path and observe the receiver's response to infer plaintext.
23) Path traversal (CVE-ID: N/A)
CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to read, create, overwrite, or delete files outside the SFTP chroot with the server process's privileges.
The vulnerability exists due to improper pathname restriction in the AsyncSSH SFTP server when it validates a relative symbolic link target against a different directory from the one where the link is created. A remote user can create a symbolic link that resolves outside the chroot and use it to access files beyond that boundary.
Remediation
Install update from vendor's website.
References
- https://github.com/ronf/asyncssh/security/advisories/GHSA-8C74-72GH-PQWC
- https://github.com/ronf/asyncssh/security/advisories/GHSA-GQR5-MPMR-VQ6H
- https://github.com/ronf/asyncssh/security/advisories/GHSA-PG87-CCWQ-GQ5F
- https://github.com/ronf/asyncssh/security/advisories/GHSA-8F78-G9VP-6FWF
- https://github.com/ronf/asyncssh/security/advisories/GHSA-4HGP-7GMX-WVFG
- https://github.com/ronf/asyncssh/security/advisories/GHSA-54QJ-68M2-5346
- https://github.com/ronf/asyncssh/security/advisories/GHSA-6C83-QFR5-W8XP
- https://github.com/ronf/asyncssh/security/advisories/GHSA-4GHM-82RG-PG6C
- https://github.com/ronf/asyncssh/security/advisories/GHSA-JCRC-F8VC-958V
- https://github.com/ronf/asyncssh/security/advisories/GHSA-HCCQ-C6V7-C9GV
- https://github.com/ronf/asyncssh/security/advisories/GHSA-88Q6-8VCH-H85Q
- https://github.com/ronf/asyncssh/security/advisories/GHSA-Q4WC-J7XW-W4WP
- https://github.com/ronf/asyncssh/security/advisories/GHSA-523M-7FCP-9V4R
- https://github.com/ronf/asyncssh/security/advisories/GHSA-P2WR-Q54C-HG2G
- https://github.com/ronf/asyncssh/security/advisories/GHSA-5C83-297M-W672
- https://github.com/ronf/asyncssh/security/advisories/GHSA-PVF2-Q84M-2J7G
- https://github.com/ronf/asyncssh/security/advisories/GHSA-FC6G-2VWF-PCV6
- https://github.com/ronf/asyncssh/security/advisories/GHSA-WW8G-78W6-6CGM
- https://github.com/ronf/asyncssh/security/advisories/GHSA-W3VW-HF9Q-PM2P
- https://github.com/ronf/asyncssh/security/advisories/GHSA-CH2J-9J46-RF3W
- https://github.com/ronf/asyncssh/security/advisories/GHSA-R98Q-C7GM-3HVG
- https://github.com/ronf/asyncssh/security/advisories/GHSA-8P39-85CC-JPR9
- https://github.com/ronf/asyncssh/security/advisories/GHSA-P829-QGJF-VJRP