Remote code execution via command injection in the backup subsystem in bvisible/mcp-ssh-manager
In mcp-ssh-manager up to 3.8.4, the backup tools ssh_backup_create, ssh_backup_list, ssh_backup_restore and ssh_backup_schedule built shell command strings in src/backup-manager.js by putting caller-supplied arguments such as database, dbUser, dbPassword, dbHost, backupDir, paths and exclude straight into the string, with no shell escaping. The string went to ssh.execCommand(), which runs it through the remote server's login shell. An argument holding shell metacharacters such as a semicolon, a command substitution or a pipe therefore ran arbitrary commands on the target server, as the configured SSH user, on every remote server the MCP instance manages. The same class of flaw in the database helpers was fixed earlier as CVE-2026-77383, where a shared shellQuote() helper was added to src/database-manager.js only. The backup builders were not covered by that fix. The advisory lists mcp-ssh-manager at or below 3.8.4 as affected and 3.8.5 as patched. CVE-2026-129995 is assigned.
- Affected artifact
- bvisible/mcp-ssh-manager — backup tools (src/backup-manager.js)mcp server
- Affected versions
- mcp-ssh-manager ≥ 0 to < 3.8.5
- Fixed in
- 3.8.5
- Last verified
- 2026-12-04
- Upstream aliases
- GHSA-qwwm-vrm9-4mw8CVE-2026-129995
Severity
CVSS 4.0 score 8.8 (High), scored by HOL.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
What this means
GHSA-qwwm-vrm9-4mw8 / CVE-2026-129995: in mcp-ssh-manager, the ssh_backup_* tools put caller-supplied arguments into shell command strings with no escaping, so shell metacharacters ran arbitrary commands on managed remote servers. Fixed in 3.8.5; upgrade from 3.8.4 and below.
What to do
Upgrade mcp-ssh-manager to 3.8.5 or later. Operators of similar tools should pass every caller-supplied argument through a shell-quoting helper before it enters a command string, in every builder, not only the one a prior fix touched.
Evidence
Precondition. A caller able to invoke one of the ssh_backup_* tools with arguments it controls, on an MCP instance that manages at least one remote server over SSH.
Source proof. Per the advisory, the backup builders interpolate arguments without escaping, shown with buildMySQLDumpCommand, where the database argument is fully unquoted and the password argument is wrapped only in single quotes that a quote in the value breaks. HOL did not run the server; this rests on the advisory.
Version determination. Determined by range — The advisory states mcp-ssh-manager at or below 3.8.4 is affected, patched in 3.8.5.
Disclosure
Disclosure state: independent public · Publisher: bvisible/mcp-ssh-manager
Naming decision: named. Vendor named as drafted. Finding already public with fix published; naming call sits with this job under Nov 24-25 2026 rules.
Vendor response: fixed — Fix published in 3.8.5.
2026-08-28 · vendor action
Maintainers published advisory GHSA-qwwm-vrm9-4mw8 with the fix in 3.8.5.
2026-12-04 · guard update
Status moved from draft to triaged: Transition to triaged: record is in scope, sources are primary, finding already public and fixed upstream in 3.8.5, CVE-2026-129995 assigned.
2026-12-04 · guard update
Status moved from triaged to evidence_verified: Transition to evidence_verified: record is in scope, sources are primary, finding already public and fixed upstream in 3.8.5, CVE-2026-129995 assigned.
2026-12-04 · disclosure
Status moved from evidence_verified to public: Transition to public: record is in scope, sources are primary, finding already public and fixed upstream in 3.8.5, CVE-2026-129995 assigned.
Affected artifact references
Cite this record
[HOL-VULN-2026-0020] Remote code execution via command injection in the backup subsystem in bvisible/mcp-ssh-manager — HOL Agent Vulnerability Ledger, HOL (hol.org), 2026. https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0020
Canonical URL: https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0020
Found an error in this record, or want to appeal it? Report an issue or appeal.
Appeal or correct this record
Maintainers and affected parties can submit evidence, dispute the record, or request a correction through the disclosure page. A dispute marks the record visibly disputed — it never silently disappears.