Vulnerability  ·  2026-11-21

mcp-ssh-manager command injection in backup/schedule tools -> RCE on managed SSH servers

VulnerabilityHigh impactGlobalCVE-2026-129995
The earlier database-helper remediation applied shell quoting only to database-manager.js, leaving the parallel backup builders and inline handlers unquoted. CWE-78, CVSS 8.8 (AV:N/AC:L/PR:L/UI:N).
This is an agentic-tooling RCE: the same SSH-manager MCP server an autonomous agent uses to administer infrastructure is the sink for command injection, so a prompt-injection or tool-confusion attack turns into remote command execution across the fleet of managed servers.
ssh_backup_create, ssh_backup_restore, ssh_backup_schedule and ssh_backup_list build remote shell commands from caller-controlled database/connection/backup-directory/path/exclusion/schedule/comment values without neutralizing shell metacharacters (CWE-78). Usable by a malicious/compromised MCP client or steered via indirect prompt injection; ssh_backup_list and the read-only ssh_service_status/ssh_tail tools remain enabled in readonly/restricted modes, defeating those controls.
mcp-ssh-manager < 3.8.5 (fix: v3.8.5); CVE-2026-77383 (< 3.6.7) for the database builders
Upgrade mcp-ssh-manager to 3.8.5; enforce the server policy layer on the read-only tools and confirm all builders call shellQuote().
Fix commit (d40daa8)GHSA-qwwm-vrm9-4mw8NVD record
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →