HOL-VULN-2026-0026HOL vulnerability recordCVSS 4.0 8.7 · HighPublic

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

In mcp-ssh-manager at or below 3.6.6, every argument to the ssh_db_* tools was put straight into a shell command string in src/database-manager.js. That includes the database, table and collection names, the file paths, and the user, host, port and password fields. A caller who could set one of those values to a shell fragment, using $(), backticks, a semicolon, a pipe, && or a redirect, got arbitrary command execution on the configured SSH target, under the account the server uses. The ssh_db_list tool is the strongest path. It is classed as read-only, so it stayed allowed in readonly and restricted modes, and it still reached an injectable builder. The dump and import tools are blocked in readonly mode and stayed injectable in the default unrestricted mode. An earlier fix in 3.6.5 covered only the query text in ssh_db_query. The fix in 3.6.7 wraps every caller-controlled value in a shellQuote() helper across all 15 database builders, and passes the MySQL list-tables database as a quoted positional argument. The advisory lists mcp-ssh-manager at or below 3.6.6 as affected on npm, and 3.6.7 as patched. CVE-2026-77383 is assigned.

Affected artifact
bvisible/mcp-ssh-manager — database helpers (ssh_db_list / ssh_db_dump / ssh_db_import and related ssh_db_* tools, src/database-manager.js)mcp server
Affected versions
mcp-ssh-manager ≥ 0 to < 3.6.7
Fixed in
3.6.7
Last verified
2026-12-05

Severity

CVSS 4.0 score 8.7 (High), scored by HOL.

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

What this means

GHSA-4jx9-2fwj-pg4j / CVE-2026-77383: in mcp-ssh-manager, ssh_db_* tool arguments were interpolated into a shell command, giving command execution on the SSH target; ssh_db_list stayed allowed in readonly modes. Fixed in 3.6.7; upgrade from 3.6.6 or below.

What to do

Upgrade mcp-ssh-manager to 3.6.7 or later. On affected versions, disable the database tool group and do not rely on readonly or restricted modes to contain a caller that can reach ssh_db_list.

Evidence

Precondition. A caller able to invoke an ssh_db_* tool with a crafted argument, on mcp-ssh-manager at or below 3.6.6 with at least one configured SSH target. ssh_db_list is reachable even in readonly and restricted modes.

Source proof. Per the advisory, a crafted ssh_db_* argument containing shell substitution, a separator or a redirect is interpolated into a shell-evaluated command and runs on the configured SSH target. HOL did not run the server; this rests on the advisory.

Version determination. Determined by range — The advisory states mcp-ssh-manager at or below 3.6.6 is affected on npm, patched in 3.6.7.

Disclosure

Disclosure state: independent public · Publisher: bvisible/mcp-ssh-manager

Naming decision: named. Vendor named as drafted. Finding already public with fix published; naming call sits with this job under Nov 24-25 2026 rules.

Vendor response: fixed — Fix published in 3.6.7.

  1. 2026-07-12 · vendor action

    Maintainers published advisory GHSA-4jx9-2fwj-pg4j with the fix in 3.6.7.

  2. 2026-12-05 · guard update

    Status moved from draft to triaged: Transition to triaged: record is in scope, sources are primary, finding already public and fixed upstream in 3.6.7, CVE-2026-77383 assigned.

  3. 2026-12-05 · guard update

    Status moved from triaged to evidence_verified: Transition to evidence_verified: record is in scope, sources are primary, finding already public and fixed upstream in 3.6.7, CVE-2026-77383 assigned.

  4. 2026-12-05 · disclosure

    Status moved from evidence_verified to public: Transition to public: record is in scope, sources are primary, finding already public and fixed upstream in 3.6.7, CVE-2026-77383 assigned.

Affected artifact references

Cite this record

[HOL-VULN-2026-0026] Command injection in database helpers (ssh_db_list / ssh_db_dump / ssh_db_import) in bvisible/mcp-ssh-manager — HOL Agent Vulnerability Ledger, HOL (hol.org), 2026. https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0026

Canonical URL: https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0026

Found an error in this record, or want to appeal it? Report an issue or appeal.

Appeal or correct this record

Maintainers and affected parties can submit evidence, dispute the record, or request a correction through the disclosure page. A dispute marks the record visibly disputed — it never silently disappears.

Appeal or correct HOL-VULN-2026-0026