Skip to content
High 7.7

AsyncSSHのProxyCommandでコマンドを実行される脆弱性

CVE-2026-138374 First seen on SecPulse

Summary

AsyncSSH 2.7.0から2.24.2より前の版に、ホスト名やユーザー名に空白や引用符を埋め込まれると、ProxyCommandの引数に任意のオプションを追加され、アプリケーションの実行ユーザー権限でコマンドを実行される脆弱性があります。修正版の2.24.2へ更新してください。ssh -W %h:%pを使う踏み台経由の接続では特に注意が必要です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

AsyncSSH 2.7.0から2.24.2より前の版に、ホスト名やユーザー名に空白や引用符を埋め込まれると、ProxyCommandの引数に任意のオプションを追加され、アプリケーションの実行ユーザー権限でコマンドを実行される脆弱性があります。修正版の2.24.2へ更新してください。ssh -W %h:%pを使う踏み台経由の接続では特に注意が必要です。

Affected packages

PackageAffected → Fixed
ronfAsyncSSH
≥ 2.7.0, < 2.24.2→ 2.24.2

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details