mcp-ssh-manager: Remote code execution (RCE) via command injection in the backup subsystem
CVE-2026-129995 · GHSA-qwwm-vrm9-4mw8 · published 2026-11-30
- Severity
- High
- CVSS score
- 8.8
- Chance of exploitation (EPSS)
- 1.2%
- Fixed in
- 3.8.5
- Exploitation Public proof of concept
- Automatable No
- Technical impact Total
- CISA SSVC
Remote Code Execution (RCE) — arbitrary OS command execution on the managed remote server, running as the configured SSH user — identical impact to CVE-2026-77383. In the default unrestricted mode this is reachable through ssh_backup_create, ssh_backup_restore, ssh_backup_schedule (the last also yields a persistent cron foothold) and ssh_backup_list. On servers hardened to readonly/restricted, ssh_backup_list still reaches it, bypassing the intended tool restriction.
Upgrade mcp-ssh-manager to 3.8.5 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Apply the existing shellQuote() from src/database-manager.js to every argument interpolated by the builders in src/backup-manager.js (database, user, password, host, port, outputFile, outputDir, paths, exclude, database in restore, schedule/cronComment in the cron builder), and to the inline interpolations in the ssh_backup_* handlers in src/index.js (mkdir -p "${backupDir}", stat … "${backupFile}", echo '…' > "${metadataPath}"). Prefer passing values as argv where the transport allows it. Additionally, route ssh_backup_list through applyServerPolicy so it is subject to the same read-only semantics as the other backup tools.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| mcp-ssh-manager | npm | < 3.8.5 | 3.8.5 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- Criticalmcp-server-git runs a repo's gpg.program via git_merge and git_branchmcp-server-git
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.