mcp-ssh-manager database tools allow command injection on the SSH target (CVE-2026-77383)
Summary
Per the vendor advisory, mcp-ssh-manager 3.6.6 and earlier places database tool arguments into a shell-evaluated command string. A caller who can invoke a database tool with a crafted value can run arbitrary commands on the configured SSH target, under the account the MCP server uses. Version 3.6.7 fixes this. In the affected versions ssh_db_list stayed allowed in the readonly and restricted modes.
Severity
Timeline
The vendor advisory is published and lists 3.6.7 as the patched version.
The advisory record gives this as its publication date. (per the vendor advisory)
How it happened
Per the vendor advisory, the database tool arguments come from tool-call parameters and were interpolated into a shell-evaluated command string in src/database-manager.js. ssh_db_list is classified as read-only, so it stayed allowed in the readonly and restricted modes. ssh_db_dump and ssh_db_import are blocked in readonly but remain injectable in the default unrestricted mode. The earlier v3.6.5 fix only hardened the query text of ssh_db_query.
How to check your app
- 3.6.6 and earlier: Check whether the installed mcp-ssh-manager version is 3.6.6 or earlier.
- 3.6.6 and earlier: Check whether the ssh_db_list, ssh_db_dump or ssh_db_import tools can be reached by callers.
- 3.6.6 and earlier with readonly or restricted modes: Note that these modes did not contain a caller that can reach ssh_db_list.
Sources
Corrections and updates
Cite this entry
- Title
- mcp-ssh-manager database tools allow command injection on the SSH target (CVE-2026-77383)
- Added
- Dec 1, 2026
- URL
- https://vibeincidents.com/incidents/mcp-ssh-manager-cve-2026-77383/
- Suggested citation
VibeIncidents. "mcp-ssh-manager database tools allow command injection on the SSH target (CVE-2026-77383)." Dec 1, 2026. https://vibeincidents.com/incidents/mcp-ssh-manager-cve-2026-77383/