Home › Vulnerabilities › ronf
AsyncSSH batch: argument injection and client authentication flaws fixed in 2.24.2
Four NVD records published on 2026-11-29 cover ronf AsyncSSH versions before 2.24.2. Three are rated HIGH and cover ProxyCommand argument injection and client authentication flaws, while the fourth is a LOW-rated environment variable expansion issue.
What to look into
- 4 vulnerabilities in ronf AsyncSSH: 3 high, 1 low (CVSS up to 7.7).
- None of them is known to be exploited yet.
- Start with CVE-2026-138374 (7.7 high): AsyncSSH Argument Injection Vulnerability in ProxyCommand Tokens. An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- 0 of 4 can be attacked over the network without logging in.
- Kinds of flaws: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection'); Improper Certificate Validation; Improper Authentication; Exposure of Sensitive System Information to an Unauthorized Control Sphere.
Key points
- Four flaws in AsyncSSH before 2.24.2: three rated HIGH (CVSS 7.4 to 7.7) and one LOW (CVSS 2.3).
- Two issues let host or user names inject arguments or expand variables in ProxyCommand, per the records.
- Two issues concern client authentication through knownclienthosts and trustclienthost, which the records say can allow logins as other users.
- The records name 2.24.2 as the fixed version and do not state any known exploitation.
Argument injection through ProxyCommand tokens
Two of the records describe flaws in how AsyncSSH builds the local proxy command. CVE-2026-138374 (HIGH, CVSS 7.7) affects AsyncSSH 2.7.0 before 2.24.2. According to the record, whitespace or quote characters inside host or user names, once substituted into the %h, %n or %r ProxyCommand tokens, can add arguments to the proxy program before the command is split. The record gives the common ssh -W %h:%p bastion setup as an example, where an injected -o option could make the local ssh client run attacker-chosen commands as the application user. CVE-2026-138375 (LOW, CVSS 2.3) is a related issue in SSHConfig.expandval, which expands ${NAME} references inside substituted names, so environment variables such as credentials could be copied into ProxyCommand arguments.
Certificate and host-key authentication flaws
The other two HIGH records concern client authentication. CVE-2026-138377 (CVSS 7.6), affecting AsyncSSH 1.13.1 before 2.24.2, describes improper X.509 certificate validation in knownclienthosts. Per the record, an attacker can make a failed host-based authentication attempt with any host key, add host-only CA certificates to the trust anchors, and then authenticate with user certificates issued under those CAs. CVE-2026-138376 (CVSS 7.4), in SSHConnection.matchknownhosts, says trusted client host keys accumulate across host-based attempts on one connection. With trustclienthost enabled, an attacker holding one known client host's private key can name another known host and log in as users authorized only from that host.
Scope and status
All four records name the same fixed release, 2.24.2. The records do not state that any of these flaws is known to be exploited, and they do not provide additional workarounds or detection guidance. Administrators should treat the upgrade as the documented remediation and assess their own exposure against the settings each record mentions.
What to do
- Upgrade AsyncSSH to version 2.24.2 or later, the release the records name as the fix for all four CVEs.
- Review ProxyCommand settings that use %h, %n or %r with host or user names that are not validated, since the records tie the injection to these tokens.
- Review knownclienthosts and trustclienthost settings on deployments running affected versions, since the records tie the authentication flaws to them.
The 4 vulnerabilities
- CVE-2026-138374 7.7 AsyncSSH Argument Injection Vulnerability in ProxyCommand Tokens
- CVE-2026-138377 7.6 AsyncSSH Improper Certificate Validation Vulnerability
- CVE-2026-138376 7.4 AsyncSSH Improper Authentication Vulnerability in SSHConnection.matchknownhosts
- CVE-2026-138375 2.3 AsyncSSH 2.20.0 before 2.24.2 contains an information disclosure vulnerability in SSHConfig.expandval that expands ${NAME} references inside substituted host or user names. Attackers supplying unvalidated host or user names to connect() ca…
Frequently asked questions
How many ronf AsyncSSH vulnerabilities were published on November 29, 2026?
4 vulnerabilities: 3 high, 1 low, with CVSS scores up to 7.7.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-138374 (CVSS 7.7): AsyncSSH Argument Injection Vulnerability in ProxyCommand Tokens.