Read the docs

mcp-ssh-manager: RCE via command injection in backup tools

Priority HIGH 73CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

Prior to version 3.8.5, mcp-ssh-manager, an MCP server for managing servers over SSH, builds remote shell commands from caller-controlled values in its backup tools without neutralizing shell metacharacters (CWE-78). An attacker who can supply tool arguments, through a malicious or compromised MCP client or indirect prompt injection, can run arbitrary OS commands on managed remote servers as the configured SSH user. The ssh_backup_list tool skips the server policy check, so it runs even in readonly and restricted modes. CISA's SSVC assessment rates exploitation as proof-of-concept, and CISA KEV does not list the flaw.

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.8.5, ssh_backup_create, ssh_backup_restore, ssh_backup_schedule, and ssh_backup_list build remote shell commands from caller-controlled values in src/backup-manager.js and inline backup handlers in src/index.js without neutralizing shell metacharacters. Crafted database, connection, backup directory, path, exclusion, schedule, or comment arguments can therefore execute arbitrary OS commands on managed remote servers as the configured SSH user. ssh_backup_schedule can persist execution through cron. ssh_backup_list does not pass through the server policy check and remains available in readonly and restricted modes, allowing command execution despite those restrictions. Tool arguments can be supplied by a malicious or compromised MCP client or steered through indirect prompt injection; fully trusted benign arguments do not trigger the issue. The earlier database-helper remediation for CVE-2026-77383 applied shell quoting to src/database-manager.js but did not cover these parallel backup builders. This issue is fixed in version 3.8.5.

Why it matters now

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

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.8.53.8.5Patch availableCNA
—mcp-ssh-manager (npm)before 3.8.53.8.5Patch availableGHSA-qwwm-vrm9-4mw8
  • mcp-ssh-manager Vendorbvisible Affected before 3.8.5 Fixed in 3.8.5 Patch available CNA
  • mcp-ssh-manager (npm) Vendor— Affected before 3.8.5 Fixed in 3.8.5 Patch available GHSA-qwwm-vrm9-4mw8

Remediation

Update mcp-ssh-manager to version 3.8.5, which fixes the issue for both the bvisible vendor entry and the npm package. The sources list no fixed version for any other product.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA mcp-ssh-manager (bvisible) Fixed in 3.8.5
  • Fix · GHSA-qwwm-vrm9-4mw8 mcp-ssh-manager (npm) Fixed in 3.8.5 Advisory →

Timeline

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

References

  • TI-2026-95982 Command injection in mcp-ssh-manager database helpers CVSS 4.0HIGH 8.7

Sources