Read the docs

Command injection in mcp-ssh-manager database helpers

Priority HIGH 73CWE-78Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00733 50th percentileScored 2026-11-30
Fix Fixed mcp-ssh-manager (bvisible): 3.6.7mcp-ssh-manager (npm): 3.6.7

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

VendorProductAffected versionsFixed inStatusSource
bvisiblemcp-ssh-managerbefore 3.6.73.6.7Patch availableCNA
—mcp-ssh-manager (npm)before 3.6.73.6.7Patch availableGHSA-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

  1. 2026-11-20 Threatist record created from CVE-2026-77383
  2. 2026-11-25 CISA SSVC decision points changed
  3. 2026-11-30 Alias added: GHSA-4jx9-2fwj-pg4j
  4. 2026-11-30 Fix available: npm/[email protected] · GHSA-4jx9-2fwj-pg4j
  5. 2026-11-30 CVSS score added · GHSA-4jx9-2fwj-pg4j
  6. 2026-11-30 Weakness changed · GHSA-4jx9-2fwj-pg4j
  7. 2026-11-30 6 new references · GHSA-4jx9-2fwj-pg4j

References

  • TI-2026-95985 mcp-ssh-manager: RCE via command injection in backup tools CVSS 3.1HIGH 8.8

Sources