Repository navigation
A security release: upgrade if an agent can call ssh_sync. ssh_sync handed its local path to rsync as a
bare operand, and rsync reads an operand that starts with - as one of its own options: a pull to
local:--rsh=<command> ran that command on the machine that runs the server, as its user, with no approval in the
default configuration (GHSA-m727-8qhq-9f7f, high, reported by @manus-use). A push did the same when a local
file of that name existed. ssh_sync is refused on readonly and restricted servers. Every published release
from 3.0.0 is affected.
Fixed
ssh_syncrefuses a local or a remote path that starts with-, and always puts the two paths behind--. The check comes first, before the local side is looked at;--ends rsync's options, so that a path can never be one even if something got past the check. A relative path can still be written./-name. Control characters are refused in the two paths too, as in the other tools since 4.4.3.
Changed
- cross-spawn 7.1.2 in both dependency trees (GHSA-ghv9-86vm-4v8m, critical: a command could be injected when it spawns a batch file on Windows). It comes with the MCP SDK, whose stdio client the server does not use, and with the desktop build tools;
npm auditreports 0 vulnerabilities again. - Dependency updates: dotenv 18.0.10 (#188); ESLint 10 (#189), with its configuration moved to
eslint.config.jsand the same rules; the development tools knip, prettier, fast-check and @types/node (#187); the CI actions trufflehog 3.100.1 (#185) and codeql-action upload-sarif 4.39.5 (#186).
Install or update: npm install -g mcp-ssh-manager@4.4.4 (or npm update -g mcp-ssh-manager), or download the desktop application below; the 4.x application updates itself.