Read the docs

Argument injection in AsyncSSH ProxyCommand token substitution

Priority HIGH 69CWE-88Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-88.

Summary

AsyncSSH from 2.7.0 before 2.24.2 is affected. Whitespace or quote characters in host or user names are not neutralized before ProxyCommand tokens %h, %n or %r are split, a flaw classed as CWE-88. A remote attacker with low privileges who supplies host or user names can inject an -o option into the common ssh -W %h:%p bastion ProxyCommand and run commands as the application user.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00544 39th percentileScored 2026-11-30
Fix Fixed AsyncSSH (ronf): 2.24.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ronfAsyncSSH2.7.0 to before 2.24.22.24.2Patch availableCNA
  • AsyncSSH Vendorronf Affected 2.7.0 to before 2.24.2 Fixed in 2.24.2 Patch available CNA

Remediation

Upgrade AsyncSSH to version 2.24.2, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA AsyncSSH (ronf) Fixed in 2.24.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    ronf AsyncSSH — GitHub Security Advisory (GHSA-54qj-68m2-5346)

    2 records Highest priority Priority HIGH 1 HIGH, 1 LOW

    Other records, highest priority first

    • TI-2026-99532 Environment variable disclosure in AsyncSSH via config token expansionPriority LOW 12

Timeline

  1. 2026-11-29 Threatist record created from CVE-2026-138374
  2. 2026-11-29 Alias added: GHSA-2q46-77pw-8pgf
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-87392 Chroot escape in AsyncSSH SFTP server lets users read and write files CVSS 3.1HIGH 8.8
  • TI-2026-99533 Improper authentication in AsyncSSH host-based auth lets attackers log in CVSS 4.0HIGH 7.4
  • TI-2026-39424 AsyncSSH AuthorizedKeysFile username substitution bypass through ~ and environment expansion CVSS 3.1MEDIUM 5.9
  • TI-2026-39425 AsyncSSH: SCP Path Traversal to Arbitrary File Write CVSS 3.1HIGH 8.1
  • TI-2026-99534 Improper certificate validation in AsyncSSH lets remote clients authenticate CVSS 4.0HIGH 7.6
  • TI-2026-87391 Path traversal in AsyncSSH SFTP copy lets servers write local files CVSS 3.1MEDIUM 6.5
See all 8 →

Sources