mcp-ssh-manager: RCE via command injection in backup tools
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
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.8.5 | 3.8.5 | Patch available | CNA |
| — | mcp-ssh-manager (npm) | before 3.8.5 | 3.8.5 | Patch available | GHSA-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
- 2026-11-20 Threatist record created from CVE-2026-129995
- 2026-11-25 CISA SSVC decision points changed
- 2026-11-30 Alias added: GHSA-qwwm-vrm9-4mw8
- 2026-11-30 Fix available: npm/[email protected] · GHSA-qwwm-vrm9-4mw8
- 2026-11-30 CVSS score added · GHSA-qwwm-vrm9-4mw8
- 2026-11-30 Weakness changed · GHSA-qwwm-vrm9-4mw8
- 2026-11-30 5 new references · GHSA-qwwm-vrm9-4mw8
References
More bvisible vulnerabilities
- TI-2026-95982 Command injection in mcp-ssh-manager database helpers CVSS 4.0HIGH 8.7
Sources
- CVE-2026-129995 · CVE Program
- CVE-2026-129995 · NVD
- FIRST EPSS
- GHSA-qwwm-vrm9-4mw8 · 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