新着 / 2026年11月25日 / CVE-2026-129995
mcp-ssh-manager にOSコマンド注入の脆弱性(CVE-2026-129995)
掲載
何が問題か
mcp-ssh-manager の一部のバックアップ関連ツール(ssh_backup_create、ssh_backup_restore、ssh_backup_schedule、ssh_backup_list)で、呼び出し側から渡される値がリモートのシェルコマンドに組み込まれる際、シェルのメタ文字が無害化されていない問題です。CWE-78(OSコマンドインジェクション)に分類されています。3.8.5より前のバージョンが対象で、3.8.5で修正されています。
悪用されると
細工された引数により、管理対象のリモートサーバー上で設定されたSSHユーザーの権限で任意のOSコマンドが実行される可能性があります。ssh_backup_scheduleを通じてcronによる実行が永続化されるおそれがあり、ssh_backup_listは読み取り専用や制限モードのポリシーチェックを経由しないため、これらの制限を回避して実行される可能性があります。
取るべき対応
mcp-ssh-manager を3.8.5以上に更新してください。更新までの間は、信頼できないMCPクライアントからの接続を制限し、バックアップ関連ツールの利用を控えることを検討してください。悪用の有無は公表されていません。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v3.1) | 重要 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 30日以内に悪用される確率(EPSS) | 0.8%(全体の上位 41.6%) |
| 問題の種類 | CWE-78 |
| CVE公開日 | 2026-11-20 |
出典
- NVD: CVE-2026-129995
- https://github.com/bvisible/mcp-ssh-manager/commit/d40daa8a43388dfaedf593bff18f0064d50f9633
- https://github.com/bvisible/mcp-ssh-manager/releases/tag/v3.8.5
- https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-qwwm-vrm9-4mw8
公式の説明(英語の原文)
mcp-ssh-manager is an MCP server for managing servers over SSH with human approval, an encrypted vault, and a live audit trail. Prior to 3.8.5, ssh_backup_create, ssh_backup_restore, ssh_backup_schedule, and ssh_backup_list build remote shell commands from caller-controlled values in src/backup-manager.js and inline backup handlers in src/index.js without neutralizing shell metacharacters. Crafted database, connection, backup directory, path, exclusion, schedule, or comment arguments can therefore execute arbitrary OS commands on managed remote servers as the configured SSH user. ssh_backup_schedule can persist execution through cron. ssh_backup_list does not pass through the server policy check and remains available in readonly and restricted modes, allowing command execution despite those restrictions. Tool arguments can be supplied by a malicious or compromised MCP client or steered through indirect prompt injection; fully trusted benign arguments do not trigger the issue. The earlier database-helper remediation for CVE-2026-77383 applied shell quoting to src/database-manager.js but did not cover these parallel backup builders. This issue is fixed in version 3.8.5.