Skip to content
GitHub Security Advisories·Indexed by this site · Originally published· Event →· Its place in the scan record →SelectedAttention37

Command injection vulnerability in mcp-ssh-manager database tools, fixed in 3.6.7

mcp-ssh-manager: Command injection in database helpers (ssh_db_list / ssh_db_dump / ssh_db_import)

AI summary

mcp-ssh-manager released a security advisory (CVE-2026-77383): in versions 3.6.6 and earlier of its npm package, database tools such as ssh_db_list, ssh_db_dump and ssh_db_import have a command injection vulnerability, fixed in 3.6.7. The database, table, file path and connection parameters such as user, host, port and password for these tools come from tool calls and were previously concatenated directly into commands executed via shell. An attacker able to call these tools can execute arbitrary commands on the configured SSH targets under the account used by the MCP server. ssh_db_list is classified as read-only and is still allowed in both readonly and restricted security modes, bypassing the boundaries these two modes are supposed to enforce; ssh_db_dump and ssh_db_import are blocked in readonly mode but can still be injected in the default unrestricted mode.

Why it was selected

The advisory shows that tools classified as read-only can still serve as injection entry points; teams deploying MCP servers can use this to review the actual boundaries of their own security modes.

Read originalgithub.com