CVE-2026-19039 Details
Description
A vulnerability was detected in Kino-Kafkaesque ssh-mcp-server up to 8ebbbb99b26f80ff6162fe00957c6dec73fbc5a5. Impacted is the function ssh_exec of the file src/index.ts of the component SSH Command Handler. Performing a manipulation of the argument host/username results in command injection. The attack requires a local approach. The actual existence of this vulnerability is currently in question. This product adopts a rolling release strategy to maintain continuous delivery. Therefore, version details for affected or updated releases cannot be specified. The project maintainer explains: "The intended threat model is that this MCP server is a local/trusted tool for an agent to execute commands over SSH, so callers already have meaningful execution capability through the exposed shell."
A local command injection vulnerability has been identified in Kino-Kafkaesque ssh-mcp-server versions prior to 8ebbbb99b26f80ff6162fe00957c6dec73fbc5a5. The issue arises in the SSH Command Handler, specifically within the ssh_exec function in src/index.ts. The vulnerability occurs because the handler constructs a shell command by directly interpolating untrusted user input from the host and username fields. This command is then executed using child_process.exec(). As a result, an attacker can inject shell metacharacters into these fields, leading to the execution of arbitrary commands on the local machine where the MCP server is running, before the intended SSH command is executed. This vulnerability is separate from the application's intended functionality of executing remote commands over SSH.
It is recommended to modify the ssh_exec handler to use execFile() or spawn() instead of exec(), and to pass command arguments separately to prevent injection. This approach should also be applied to the rsync_copy and scp_copy handlers, which currently use exec() with similar command interpolation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 6, 2026CISA-ADP
Assessed Aug 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/KinoThe-Kafkaesque/ssh-mcp-server/issues/3#issuecomment-4319612623 | CISA-ADP | Issue TrackingVendor |
| https://github.com/KinoThe-Kafkaesque/ssh-mcp-server/issues/3 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/KinoThe-Kafkaesque/ssh-mcp-server/issues/3#issuecomment-4319612623 | [email protected] | Issue TrackingVendor |
| https://vuldb.com/cve/CVE-2026-19039 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/863828 | [email protected] | Permission Required |
| https://vuldb.com/vuln/386458 | [email protected] | Permission Required |
| https://vuldb.com/vuln/386458/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Kino-Kafkaesque ssh-mcp-server | 1.0.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 6, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2026 | New CVE Received | [email protected] |
Volerion