mcp-ssh-manager: Remote code execution (RCE) via command injection in the backup subsystem
src/backup-manager.js builds shell command strings for the ssh_backup_* tools by concatenating caller-controlled tool arguments (database, dbUser, dbPassword, dbHost, backupDir, paths, exclude, …) directly into the string with no shell escaping. The resulting string is passed to ssh.execCommand(), which runs it through the remote server's login shell. An argument that contains shell metacharacters (;, $(…), backticks, |) therefore executes arbitrary commands on the target server. This is a remote code execution …