All vulnerabilities

npm

CVE-2026-77383

mcp-ssh-manager: Command injection in database helpers (ssh_db_list / ssh_db_dump / ssh_db_import)

Severity
High
Published
30 Nov 2026
Last changed
30 Nov 2026
Added to UpHeron
30 Nov 2026
Fixed in
3.6.7
Exploit chance
0.7% in the next 30 daysHigher than 50% of CVEs. EPSS by FIRST, 30 Nov 2026
Weakness
OS command injection (CWE-78)
Also known as
GHSA-4jx9-2fwj-pg4j
Sources
OSV.dev and GitHub

Description

Every ssh_db_* tool argument — database, table, collection, output/input file paths, and the user / host / port / password connection fields — arrives from tool-call parameters and was interpolated directly into a shell-evaluated command string in src/database-manager.js. A caller able to invoke a database tool with a crafted value ($(...), backticks, ; cmd, | cmd, && cmd, bare > file) achieves arbitrary command execution on the configured SSH target, under the account the MCP server uses.

The strongest path is ssh_db_list: it is documented and classified as read-only, so it remained allowed in the readonly and restricted per-server security modes while still reaching an injectable builder — bypassing the boundary those modes are meant to enforce. ssh_db_dump / ssh_db_import are blocked in readonly but remain injectable in the default unrestricted mode.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

Upgrade to 3.6.7. If applications cannot upgrade immediately, avoid exposing the ssh_db_* tools (disable the database tool group) and do not rely on readonly / restricted modes to contain a caller that can reach ssh_db_list.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
mcp-ssh-managernpm · osv:npm:mcp-ssh-manager
  • Every version before 3.6.7

About mcp-ssh-manager

Weekly downloads (npm)
7,233npm, 30 Nov 2026

Vulnerabilities in mcp-ssh-manager

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
2
Known exploited
0
Search the list for mcp-ssh-manager

References