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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-20T18:07:53.444Z
- Modified: 2026-11-30T20:00:05.897Z
- Also known as: GHSA-4jx9-2fwj-pg4j
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- bvisible mcp-ssh-manager: < 3.6.7
- mcp-ssh-manager (npm): before 3.6.7

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/bvisible/mcp-ssh-manager/pull/51> (exploit, web)
- <https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-4jx9-2fwj-pg4j> (web)
- <https://github.com/bvisible/mcp-ssh-manager/commit/4c19b350f36f5f09f15662f8d19d2ba9cdf38bd0> (web)
- <https://github.com/bvisible/mcp-ssh-manager/releases/tag/v3.6.7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-77383> (advisory)
- <https://github.com/bvisible/mcp-ssh-manager> (package)

## Sources

- CVE List: [CVE-2026-77383](https://www.cve.org/CVERecord?id=CVE-2026-77383), CVE Terms of Use, modified 2026-11-25
- GitHub Advisory Database: [GHSA-4jx9-2fwj-pg4j](https://github.com/advisories/GHSA-4jx9-2fwj-pg4j), CC-BY-4.0, modified 2026-11-30
- NVD: [CVE-2026-77383](https://nvd.nist.gov/vuln/detail/CVE-2026-77383), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-77383 · Whole record: https://cve.day/CVE-2026-77383.json · Rebuilt by cve.day 2026-11-30T20:27:24.998Z
