CVE-2026-138374
Awaiting Analysis Awaiting Analysis - Queue

AsyncSSH Argument Injection via ProxyCommand Tokens

Vulnerability report for CVE-2026-138374, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-29

Last updated on: 2026-11-29

Assigner: VulnCheck

Description

AsyncSSH 2.7.0 before 2.24.2 contains an argument injection vulnerability that allows attackers supplying host or user names to add arguments to the local proxy program by embedding whitespace or quote characters substituted into %h, %n or %r ProxyCommand tokens before splitting. Attackers can inject an -o option into the common ssh -W %h:%p bastion ProxyCommand to make the local ssh client run attacker-chosen commands as the application user.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-29
Last Modified
2026-11-29
Generated
2026-11-29
AI Q&A
2026-11-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ronf AsyncSSH From 2.7.0 (inc) to 2.24.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-88 The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

AsyncSSH 2.7.0 to 2.24.1 has an argument injection flaw in ProxyCommand token substitution. Attackers can supply host or user names with whitespace or quotes that are substituted into %h, %n, or %r tokens before command splitting. This allows injecting extra arguments into the local proxy program, potentially executing arbitrary commands as the application user.

Detection Guidance

To detect this vulnerability, check if your system uses AsyncSSH versions 2.7.0 through 2.24.1. Run: asyncssh --version. Inspect OpenSSH config files for ProxyCommand entries using %h, %n, or %r tokens. Test for argument injection by attempting to pass host/user names with whitespace or quotes into these tokens.

Impact Analysis

An attacker could execute arbitrary commands on your system with the privileges of the AsyncSSH application user. This could lead to data theft, system compromise, or further network infiltration. The impact depends on the application's privileges and the commands executed.

Compliance Impact

This vulnerability could lead to unauthorized data access or exfiltration, violating GDPR's data protection principles or HIPAA's security requirements for protected health information. Compliance may be compromised if sensitive data is exposed or altered due to the flaw.

Mitigation Strategies

Upgrade AsyncSSH to version 2.24.2 or later. Avoid using %h, %n, or %r tokens in ProxyCommand entries. Validate host and user names from untrusted sources, rejecting whitespace, quotes, dollar signs, and leading hyphens. If possible, disable ProxyCommand token substitution entirely.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138374. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...