Command injection in the mcp-ssh-manager backup subsystem leads to RCE, fixed in 3.8.5
mcp-ssh-manager: Remote code execution (RCE) via command injection in the backup subsystem
mcp-ssh-manager (npm) has a command injection vulnerability in its backup subsystem (CVE-2026-129995) that can lead to remote code execution. Affected versions are those before 3.8.5, and it has been fixed in 3.8.5. The advisory states that src/backup-manager.js concatenates caller-controllable parameters of the ssh_backup_* tools directly into shell commands without escaping, and these are executed via ssh.execCommand() in the remote server's login shell. An attacker who controls the tool parameters can run arbitrary commands on remote servers managed by that MCP instance, under the identity of the configured SSH user. This vulnerability is of the same type as the earlier CVE-2026-77383; the shellQuote() fix at that time covered only the database tools, and ssh_backup_create, ssh_backup_restore, ssh_backup_schedule (which leaves a persistent cron foothold) and ssh_backup_list are all reachable.
The advisory notes that the fix for the earlier vulnerability of the same type covered only the database tools and missed the backup tools; teams using this MCP server can use this to check the affected tools and upgrade to 3.8.5.