Tuesday, 24 November 2026
1 agent hack today▬ 0 vs yesterday (1)

Backup tools in mcp-ssh-manager allowed remote command execution

A command injection flaw disclosed on 20 November 2026 let crafted tool arguments run arbitrary commands on servers managed by the bvisible MCP server.

By The Agentic Times ·

A technician's wrench lies abandoned as invisible puppet strings pull levers on a server rack, executing commands the operator never intended.
A technician's wrench lies abandoned as invisible puppet strings pull levers on a server rack, executing commands the operator never intended. · Illustration: The Agentic Times

An MCP server used to administer remote machines over SSH contained a command injection flaw that allowed arbitrary operating system commands to be run on the servers it managed, according to an entry published by the US National Vulnerability Database on 20 November 2026. The flaw, tracked as CVE-2026-129995, affects mcp-ssh-manager from the vendor bvisible in all versions prior to 3.8.5. It has been fixed in version 3.8.5.

mcp-ssh-manager is described in the advisory as an MCP server for managing servers over SSH with human approval, an encrypted vault and a live audit trail. MCP, the Model Context Protocol, is the interface that lets AI assistants call external tools.

According to the NVD record, four backup tools were affected: ssh_backup_create, ssh_backup_restore, ssh_backup_schedule and ssh_backup_list. These built remote shell commands from caller-supplied values in src/backup-manager.js and in inline backup handlers in src/index.js, without neutralising shell metacharacters — the punctuation characters a shell treats as instructions rather than text. Crafted database, connection, backup directory, path, exclusion, schedule or comment arguments could therefore execute arbitrary commands on managed remote servers, running as the configured SSH user.

Two details widen the impact. The advisory says ssh_backup_schedule can persist execution through cron, the scheduling service on Unix systems, meaning an injected command could keep running after the initial call. And ssh_backup_list does not pass through the server's policy check, so it remains available in readonly and restricted modes. That allows command execution despite those restrictions, according to the advisory.

The record is explicit about how the malicious arguments could arrive. Tool arguments can be supplied by a malicious or compromised MCP client, or steered through indirect prompt injection — where instructions hidden in content the model reads cause it to call a tool with attacker-chosen parameters. Fully trusted benign arguments do not trigger the issue, the advisory notes.

The entry also describes this as a gap left by an earlier fix. A previous database-helper remediation for CVE-2026-77383 applied shell quoting to src/database-manager.js, but did not cover the parallel backup command builders described here. In other words, the same class of bug existed in a second place in the codebase and was not caught when the first instance was patched.

The advisory lists three references: a commit in the bvisible GitHub repository, the release tag for version 3.8.5, and a GitHub security advisory, GHSA-qwwm-vrm9-4mw8. The NVD record gives no information about exploitation in the wild, and none of the listed sources reports any affected users or incidents.

The case illustrates a recurring pattern in agent tooling. An MCP server that wraps shell commands inherits the full power of those commands, and the safety features advertised by the product — human approval, policy modes, audit logging — only hold if every tool path is covered by them. Here, by the advisory's own account, one tool bypassed the policy check entirely, and the human-approval model offered no protection against arguments that look routine to a reviewer but carry shell metacharacters.

Users of mcp-ssh-manager should move to version 3.8.5, which the advisory states contains the fix.

Sources

  1. nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-129995