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

Published Updated

A malicious MCP client or prompt injection can execute OS commands on managed SSH servers via backup arguments in mcp-ssh-manager.

CVSS score

High

8.8/10

CVSS 3.1 · Scored by GitHub Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
3.8.5
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-129995?

CVE-2026-129995 is a high-severity command injection vulnerability in bvisible mcp-ssh-manager, published on 20 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.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.

Weakness: CWE-78

How severe is CVE-2026-129995?

CVE-2026-129995 scores 8.8 out of 10 under CVSS 3.1, which is high severity. It was scored by GitHub.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Which versions are affected by CVE-2026-129995?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-129995?

Upgrade bvisible mcp-ssh-manager to 3.8.5 or later. The advisory says that version fixes it.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-129995 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-129995 exists.

Sources

Also known as GHSA-qwwm-vrm9-4mw8.

Is CVE-2026-129995 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free