Security advisory2026-11-30mcp-ssh-manager projectSecurity advisory

mcp-ssh-manager issue could allow unintended commands to run

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…

What happened

  • mcp-ssh-manager: Remote code execution (RCE) via command injection in the backup subsystemSecurity Advisory GHSA-qwwm-vrm9-4mw8
  • 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.Advisory description (GHSA-qwwm-vrm9-4mw8)

The failure pattern

Watch the pattern: Privileged action without an enforceable approval gate

Related standards

CollectSEA's mapping through this incident's failure pattern; not an official determination by the standards bodies.

Building something similar?

Describe your design and see every precedent that applies, with safeguards you can hand to your coding agent.

Analyze your design