CVE-2026-7039 Details
Description
A security vulnerability has been detected in tufantunc ssh-mcp up to 1.5.0. The affected element is the function shell.write of the file src/index.ts. Such manipulation of the argument Description leads to command injection. The attack must be carried out locally. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.
A command injection vulnerability has been identified in Tufantunc SSH-MCP versions prior to 1.5.0. The issue arises in the 'shell.write' function within 'src/index.ts', where the 'description' parameter is manipulated, leading to the execution of arbitrary commands as root. This vulnerability is exploited locally when the 'su' mode is active, allowing attacker-controlled commands to be executed with elevated privileges.
Users are advised to update to SSH-MCP version 1.5.0 or later, where this vulnerability has been addressed.
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 Apr 26, 2026CISA-ADP
Assessed Apr 27, 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/tufantunc/ssh-mcp/ | [email protected] | ProductSource CodeVendor |
| https://github.com/tufantunc/ssh-mcp/issues/44 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/submit/798528 | [email protected] | Technical Description |
| https://vuldb.com/vuln/359619 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/359619/cti | [email protected] | Content Wall |
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 |
|---|---|
| tufantunc ssh-mcp | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 26, 2026 | New CVE Received | [email protected] |
Volerion