mcp-ssh-manager: Remote code execution (RCE) via command injection in the backup subsystem
CVE-2026-129995GHSA-qwwm-vrm9-4mw8Published 20 Nov 2026, 18:09 UTC
Real-world risk
5.7/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| mcp-ssh-managerNiche | < 3.8.5 | 3.8.5 |
| mcp-ssh-managerNiche | < 3.8.5 | 3.8.5 |
What to do
Update to a fixed version: 3.8.5.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 1.2% chance of exploitation in 30 days (percentile 70), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T3: Public proof of concept0.950
- 10 × impact 1 × prerequisites 0.6 × threat 0.955.700
- Rounded to one decimal between 0.1 and 105.7
Exploitation and evidence timeline
- 20 Nov 2026 Published
- 2 Dec 2026 Reference tagged as exploit first seen
- 2 Dec 2026 CISA SSVC: proof of concept first seen
- 2 Dec 2026 Risk 5.7 (cvss fallback)
Weakness
CWE-78
References
- https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-qwwm-vrm9-4mw8exploit, vendor-advisory
- https://github.com/bvisible/mcp-ssh-manager/commit/d40daa8a43388dfaedf593bff18f0064d50f9633misc
- https://github.com/bvisible/mcp-ssh-manager/releases/tag/v3.8.5misc
- https://nvd.nist.gov/vuln/detail/CVE-2026-129995
- https://github.com/advisories/GHSA-qwwm-vrm9-4mw8
- CVE-2026-129995 on CVE.org