Security Resilience

CVE-2026-7039

Command Injection in tufantunc ssh-mcp

Published
26 April 2026
Modified
26 October 2026
CVSS Score v4 7.1
Click a component to see what it means
Raw vectorCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.012 69th percentile
Risk Priority 33 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-7039 is a high-severity Injection (CWE-74) vulnerability in tufantunc ssh-mcp (named in the CVE record; NVD lists no product yet). Its CVSS base score is 7.1 (High).

Operationally, ranked in the top 31% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

This vulnerability is AI-related — categorised as AI Agent Protocols and Integrations; in the Protocol-Specific Risks risk domain.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-7039 is a command injection vulnerability affecting tufantunc/ssh-mcp versions up to 1.5.0. The flaw exists in the shell.write function of the src/index.ts file, where manipulation of the "Description" argument enables command injection. It is classified under CWE-74 and CWE-77.

The vulnerability requires local access (AV:L) with low privileges (PR:L) and no user interaction (UI:N), carrying a CVSS v3.1 base score of 7.8 (High) due to high impacts on confidentiality, integrity, and availability (C:H/I:H/A:H). A local attacker could exploit this to inject and execute arbitrary commands on the system.

The project was notified early via GitHub issue #44 but has not responded. No patches or official mitigations are available, and the exploit has been publicly disclosed, making it potentially usable by attackers. Relevant details are documented in the project's GitHub repository and VulDB entries.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

more

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.

CWE(s)

AI Security AnalysisAI

AI Category
AI Agent Protocols and Integrations
Risk Domain
Protocol-Specific Risks
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: mcp

Related Threats

CVEs Like This One

CVE-2025-9654Shared CWE-74, CWE-77
CVE-2026-2130Shared CWE-74, CWE-77
CVE-2026-7628Shared CWE-74, CWE-77
CVE-2026-7812Shared CWE-74, CWE-77
CVE-2026-3484Shared CWE-74, CWE-77
CVE-2026-5833Shared CWE-74, CWE-77
CVE-2026-5327Shared CWE-74, CWE-77
CVE-2026-7215Shared CWE-74, CWE-77
CVE-2026-7316Shared CWE-74, CWE-77
CVE-2026-11455Shared CWE-74, CWE-77

Affected Assets

tufantunc
ssh-mcp
named in the CVE record; NVD lists no product yet

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover command-construction flaws before deployment.

SI-10 directly requires validation of information inputs to reject malformed or special-element content before it reaches downstream parsers.

Secure engineering principles include proper neutralization and safe command construction practices.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches injection vulnerabilities before release.

finds

Monitoring activities can identify active injection attacks after they occur.

prevents

Secure coding standards require proper neutralization of special elements, directly addressing CWE-74.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-74, a class-level weakness, and none of its children carries one either.
  • No fine-grained STIG row for CWE-77, a class-level weakness, and none of its children carries one either.

References