mcp-ssh-manager backup tools pass unescaped arguments to a remote shell before 3.8.5 (CVE-2026-129995)
Summary
Per the vendor advisory, mcp-ssh-manager builds shell commands for its ssh_backup_* tools by concatenating tool arguments without escaping. Shell metacharacters in an argument therefore run arbitrary commands on managed servers as the configured SSH user. The package metadata lists versions before 3.8.5 as vulnerable, the advisory page lists up to and including 3.8.4, and 3.8.5 is the patched release. In readonly or restricted mode, ssh_backup_list is still reachable and bypasses the intended tool restriction.
Severity
Timeline
Vendor published the advisory; patched version is 3.8.5
How it happened
Per the vendor advisory, src/backup-manager.js concatenates tool arguments such as database, dbUser, dbPassword, dbHost, backupDir, paths and exclude into shell strings with no escaping. Shell metacharacters in an argument run arbitrary commands on the managed server as the configured SSH user. In the default unrestricted mode this is reachable through ssh_backup_create, ssh_backup_restore and ssh_backup_schedule. In readonly or restricted mode it is still reachable through ssh_backup_list. The advisory's threat model says arguments can be steered by indirect prompt injection or by a malicious or compromised MCP client, and that no exploitation occurs when a fully trusted operator supplies only benign values.
How to check your app
- Versions before 3.8.5: Run npm ls mcp-ssh-manager and confirm the installed version is 3.8.5 or later.
- Servers set to readonly or restricted, versions before 3.8.5: Do not treat these modes as preventing command execution through ssh_backup_list.
Sources
Corrections and updates
Cite this entry
- Title
- mcp-ssh-manager backup tools pass unescaped arguments to a remote shell before 3.8.5 (CVE-2026-129995)
- Added
- Nov 30, 2026
- URL
- https://vibeincidents.com/incidents/mcp-ssh-manager-cve-2026-129995/
- Suggested citation
VibeIncidents. "mcp-ssh-manager backup tools pass unescaped arguments to a remote shell before 3.8.5 (CVE-2026-129995)." Nov 30, 2026. https://vibeincidents.com/incidents/mcp-ssh-manager-cve-2026-129995/