# CVE-2026-129995: mcp-ssh-manager: Remote code execution (RCE) via command injection in the backup subsystem

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.23%, higher than 69% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-20T18:09:28.235Z
- Modified: 2026-11-30T20:15:11.152Z
- Also known as: GHSA-qwwm-vrm9-4mw8
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- bvisible mcp-ssh-manager: < 3.8.5
- mcp-ssh-manager (npm): before 3.8.5

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-qwwm-vrm9-4mw8> (exploit, web)
- <https://github.com/bvisible/mcp-ssh-manager/commit/d40daa8a43388dfaedf593bff18f0064d50f9633> (web)
- <https://github.com/bvisible/mcp-ssh-manager/releases/tag/v3.8.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-129995> (advisory)
- <https://github.com/bvisible/mcp-ssh-manager> (package)

## Sources

- CVE List: [CVE-2026-129995](https://www.cve.org/CVERecord?id=CVE-2026-129995), CVE Terms of Use, modified 2026-11-25
- GitHub Advisory Database: [GHSA-qwwm-vrm9-4mw8](https://github.com/advisories/GHSA-qwwm-vrm9-4mw8), CC-BY-4.0, modified 2026-11-30
- NVD: [CVE-2026-129995](https://nvd.nist.gov/vuln/detail/CVE-2026-129995), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-129995 · Whole record: https://cve.day/CVE-2026-129995.json · Rebuilt by cve.day 2026-11-30T20:37:25.324Z
