# CVE-2026-129995: mcp-ssh-manager: Remote code execution (RCE) via command injection in the backup subsystem

Status: published. Published: 2026-11-20. Updated: 2026-11-25.

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.8.5, ssh_backup_create, ssh_backup_restore, ssh_backup_schedule, and ssh_backup_list build remote shell commands from caller-controlled values in src/backup-manager.js and inline backup handlers in src/index.js without neutralizing shell metacharacters. Crafted database, connection, backup directory, path, exclusion, schedule, or comment arguments can therefore execute arbitrary OS commands on managed remote servers as the configured SSH user. ssh_backup_schedule can persist execution through cron. ssh_backup_list does not pass through the server policy check and remains available in readonly and restricted modes, allowing command execution despite those restrictions. Tool arguments can be supplied by a malicious or compromised MCP client or steered through indirect prompt injection; fully trusted benign arguments do not trigger the issue. The earlier database-helper remediation for CVE-2026-77383 applied shell quoting to src/database-manager.js but did not cover these parallel backup builders. This issue is fixed in version 3.8.5.

## Remediation

- fix: mcp-ssh-manager (npm): GitHub reports patched versions 3.8.5. Check the advisory for the affected release branch. (source: GitHub GHSA-qwwm-vrm9-4mw8) — https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-qwwm-vrm9-4mw8

## Affected products and versions

- bvisible / mcp-ssh-manager: < 3.8.5 (affected). Source: CNA: GitHub_M
-  / mcp-ssh-manager (mcp-ssh-manager): <= 3.8.4 (affected, GitHub advisory range). Source: GitHub GHSA-qwwm-vrm9-4mw8

## Severity and prioritization

- CVSS 3.1: 8.8 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: CNA: GitHub_M

- CVSS 3.1: 8.8 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.83% as of 2026-11-24; percentile 58.42%

- SSVC: exploitation poc; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-78

## Exploit evidence

- exploit: https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-qwwm-vrm9-4mw8 (ADP: CISA-ADP)

## References

- https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-qwwm-vrm9-4mw8 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/bvisible/mcp-ssh-manager/commit/d40daa8a43388dfaedf593bff18f0064d50f9633 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/bvisible/mcp-ssh-manager/releases/tag/v3.8.5 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-qwwm-vrm9-4mw8 (ADP: CISA-ADP; exploit)

- https://github.com/bvisible/mcp-ssh-manager/commit/d40daa8a43388dfaedf593bff18f0064d50f9633 (security-advisories@github.com)

- https://github.com/bvisible/mcp-ssh-manager/releases/tag/v3.8.5 (security-advisories@github.com)

- https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-qwwm-vrm9-4mw8 (security-advisories@github.com)

- https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-qwwm-vrm9-4mw8 (134c704f-9b21-4f2e-91b3-4a467353bcc0)

- https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-qwwm-vrm9-4mw8 (GitHub Security Advisories; advisory)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-129995; retrieved 2026-11-25; source updated 2026-11-25

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-129995; retrieved 2026-11-25; source updated 2026-11-25

- GitHub Security Advisories: https://github.com/bvisible/mcp-ssh-manager/security/advisories/GHSA-qwwm-vrm9-4mw8; retrieved 2026-11-22; source updated 2026-11-17

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-129995; retrieved 2026-11-25; source updated Not reported

Revision: b75f6e7bcd76a62cc18f24aa1a4bb4ffb894f69ad37688479a4622a4a1f2f6b9

Canonical: https://y2.dev/cve/CVE-2026-129995

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.