Command injection in mcp-ssh-manager database helpers
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
mcp-ssh-manager before 3.6.7 interpolates caller-supplied values into shell commands in its ssh_db_list, ssh_db_dump, ssh_db_import and ssh_db_restore helpers without neutralizing shell metacharacters (CWE-78). An attacker with low privileges over the network can run arbitrary commands on the configured SSH target as the account used by the MCP server. ssh_db_list remains available in readonly and restricted modes, so this bypasses those modes.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
mcp-ssh-manager is an MCP server for managing servers over SSH with human approval, an encrypted vault, and a live audit trail. Prior to 3.6.7, ssh_db_list, ssh_db_dump, ssh_db_import, and ssh_db_restore in src/database-manager.js interpolate caller-controlled database, table, collection, file path, user, host, port, and password values into shell-evaluated command strings without neutralization. Shell metacharacters in these arguments therefore execute arbitrary commands on the configured SSH target as the account used by the MCP server. ssh_db_list is classified as read-only and remains available in readonly and restricted server security modes, so this path bypasses the command-execution boundary those modes are intended to enforce. The dump and import builders are blocked in readonly mode but remain vulnerable in the default unrestricted mode. The earlier version 3.6.5 hardening covered only ssh_db_query query text; it did not protect the list, dump, import, or restore builders, or the connection flags used by query builders. This issue is fixed in version 3.6.7.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| bvisible | mcp-ssh-manager | before 3.6.7 | 3.6.7 | Patch available | CNA |
| — | mcp-ssh-manager (npm) | before 3.6.7 | 3.6.7 | Patch available | GHSA-4jx9-2fwj-pg4j |
- mcp-ssh-manager Vendorbvisible Affected before 3.6.7 Fixed in 3.6.7 Patch available CNA
- mcp-ssh-manager (npm) Vendor— Affected before 3.6.7 Fixed in 3.6.7 Patch available GHSA-4jx9-2fwj-pg4j
Remediation
Upgrade mcp-ssh-manager to version 3.6.7, which fixes the issue for the npm package and the bvisible product.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA mcp-ssh-manager (bvisible) Fixed in 3.6.7
- Fix · GHSA-4jx9-2fwj-pg4j mcp-ssh-manager (npm) Fixed in 3.6.7 Advisory →
Timeline
- 2026-11-20 Threatist record created from CVE-2026-77383
- 2026-11-25 CISA SSVC decision points changed
- 2026-11-30 Alias added: GHSA-4jx9-2fwj-pg4j
- 2026-11-30 Fix available: npm/[email protected] · GHSA-4jx9-2fwj-pg4j
- 2026-11-30 CVSS score added · GHSA-4jx9-2fwj-pg4j
- 2026-11-30 Weakness changed · GHSA-4jx9-2fwj-pg4j
- 2026-11-30 6 new references · GHSA-4jx9-2fwj-pg4j
References
Other 5
- https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-4jx9-2fwj-pg4j
- https://github.com/bvisible/mcp-ssh-manager/pull/51
- https://github.com/bvisible/mcp-ssh-manager/commit/4c19b350f36f5f09f15662f8d19d2ba9cdf38bd0
- https://github.com/bvisible/mcp-ssh-manager/releases/tag/v3.6.7
- https://github.com/bvisible/mcp-ssh-manager
More bvisible vulnerabilities
- TI-2026-95985 mcp-ssh-manager: RCE via command injection in backup tools CVSS 3.1HIGH 8.8
Sources
- CVE-2026-77383 · CVE Program
- CVE-2026-77383 · NVD
- FIRST EPSS
- GHSA-4jx9-2fwj-pg4j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences