npm
CVE-2026-129995
mcp-ssh-manager: Remote code execution (RCE) via command injection in the backup subsystem
- Severity
- High 8.8
- Published
- 30 Nov 2026
- Last changed
- 30 Nov 2026
- Added to UpHeron
- 30 Nov 2026
- Fixed in
- 3.8.5
- Exploit chance
- 1.2% in the next 30 daysHigher than 69% of CVEs. EPSS by FIRST, 30 Nov 2026
- Weakness
- OS command injection (CWE-78)
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Also known as
- GHSA-qwwm-vrm9-4mw8
- Sources
- OSV.dev and GitHub
Description
src/backup-manager.js builds shell command strings for the ssh_backup_* tools by concatenating caller-controlled tool arguments (database, dbUser, dbPassword, dbHost, backupDir, paths, exclude, …) directly into the string with no shell escaping. The resulting string is passed to ssh.execCommand(), which runs it through the remote server's login shell. An argument that contains shell metacharacters (;, $(...), backticks, |) therefore executes arbitrary commands on the target server. This is a remote code execution (RCE) vulnerability: an attacker who controls the tool arguments gains arbitrary command execution on every remote server the MCP instance manages, running as the configured SSH user.
This is the same vulnerability class that was fixed for the database helpers in CVE-2026-77383 / GHSA-4jx9-2fwj-pg4j. That fix added a centralized shellQuote() and was applied to src/database-manager.js (the ssh_db_* tools) only.
Affected software
| Software | Affected versions |
|---|---|
mcp-ssh-managernpm · osv:npm:mcp-ssh-manager |
|
About mcp-ssh-manager
- Weekly downloads (npm)
- 7,233npm, 30 Nov 2026
Vulnerabilities in mcp-ssh-manager
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-77383mcp-ssh-manager: Command injection in database helpers (ssh_db_list / ssh_db_dump / ssh_db_import)High 30 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-129995
- GitHub Advisory Database https://github.com/advisories/GHSA-qwwm-vrm9-4mw8