News · DiggingBeagle record

An MCP SSH backup helper passed arguments into a shell beyond its read-only description

mcp-ssh-manager advisory GHSA-qwwm-vrm9-4mw8 describes unescaped backup arguments reaching ssh.execCommand. The defect was fixed in 3.8.5, but a documented code path is not evidence of a successful host compromise.

Published
Nov 23, 2026

The report

An MCP tool described as performing a backup operation could pass user-controlled argument text into a shell command on a remote machine. A November 2026 maintainer advisory identifies the vulnerable path in mcp-ssh-manager's backup subsystem, where helper functions constructed commands later executed with ssh.execCommand without separating control syntax from data.

The original advisory identifies releases through 3.8.4 and a correction in 3.8.5. It addresses backup creation, listing, restoration and scheduling paths whose final host operation depends on the arguments supplied. The published description establishes a command-injection vulnerability, not a measured wave of production server takeovers.

Tool labels are not process permissions

A model may select what appears to be a read-only or constrained tool because that is how its purpose is described in the MCP catalog. The implementation's actual authority is determined by the SSH account and the command executed on the remote host. When an argument is interpolated into shell syntax, characters intended as data can instead alter the command. The tool's stated purpose cannot constrain a shell that is allowed to interpret those characters.

A correctly validated MCP JSON request can therefore still carry a dangerous string. That makes the validation boundary the command construction and remote execution layer, where the application can use fixed executable paths, structured parameters, allowlisted operations and separate privileges for inherently mutating backup tasks.

What a reliable fix must demonstrate

Version-specific evidence should show that arguments cannot escape the intended command and that permission restrictions remain effective after the transport and shell perform their own parsing. The Case keeps the technical route separate from unverified field exploitation and links it to the broader distinction between tool metadata and the authority exercised by the underlying host.

Research behind this