Arbitrary Command Execution in MCP Server Management Tool by Bvisible
CVE-2026-77383
What is CVE-2026-77383?
The mcp-ssh-manager tool, designed for managing servers via SSH with human approval, exposes a significant vulnerability in versions prior to 3.6.7. This vulnerability allows attacker-controlled inputs in various functions, including ssh_db_list, ssh_db_dump, ssh_db_import, and ssh_db_restore, to be interpolated into shell-executed command strings without appropriate sanitization. As a result, malicious actors can execute arbitrary commands on the SSH targets. In read-only and restricted security modes, the vulnerability persists due to accessibility of the ssh_db_list function. The dump and import features, while blocked in read-only mode, retain their vulnerability in the default unrestricted mode. The issue was addressed in version 3.6.7, with prior versions lacking adequate hardening, especially concerning the database management functionalities.
Affected Version(s)
mcp-ssh-manager < 3.6.7
