Skip to content

mcp-ssh-manager

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

CVE-2026-77383GHSA-4jx9-2fwj-pg4jPublished 20 Nov 2026, 18:07 UTC

Real-world risk

5.7/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.7

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

mcp-ssh-manager is an MCP server for managing servers over SSH with human approval, an encrypted vault, and a live audit trail. Prior to 3.6.7, ssh_db_list, ssh_db_dump, ssh_db_import, and ssh_db_restore in src/database-manager.js interpolate caller-controlled database, table, collection, file path, user, host, port, and password values into shell-evaluated command strings without neutralization. Shell metacharacters in these arguments therefore execute arbitrary commands on the configured SSH target as the account used by the MCP server. ssh_db_list is classified as read-only and remains available in readonly and restricted server security modes, so this path bypasses the command-execution boundary those modes are intended to enforce. The dump and import builders are blocked in readonly mode but remain vulnerable in the default unrestricted mode. The earlier version 3.6.5 hardening covered only ssh_db_query query text; it did not protect the list, dump, import, or restore builders, or the connection flags used by query builders. This issue is fixed in version 3.6.7.

Am I affected?

ProductAffected versions (from the sources)Fixed in
mcp-ssh-managerNiche< 3.6.73.6.7
mcp-ssh-managerNiche<= 3.6.63.6.7

What to do

Update to a fixed version: 3.6.7.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Reference tagged as exploit (link)
  • CISA SSVC: proof of concept

EPSS 0.7% chance of exploitation in 30 days (percentile 55), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.600
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 1 × prerequisites 0.6 × threat 0.955.700
  4. Rounded to one decimal between 0.1 and 105.7

How the score works

Exploitation and evidence timeline

  1. 20 Nov 2026 Published
  2. 2 Dec 2026 Reference tagged as exploit first seen
  3. 2 Dec 2026 CISA SSVC: proof of concept first seen
  4. 2 Dec 2026 Risk 5.7 (cvss fallback)

Weakness

CWE-78

References

Get alerts for mcp-ssh-manager

Free email or text alerts when a vulnerability in mcp-ssh-manager reaches risk 8 or higher. Nothing else.