CVE-2025-9654: @aiondadotcom/mcp ssh AiondaDotCom Mcp-ssh Command Injection Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-694p-3fxc-m92h
CVSS 6.3
CWE-74
Published
Advisory Summary

CVE-2025-9654 is a MODERATE (CVSS 6.3) aiondadotcom mcp-ssh command injection vulnerability vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting @aiondadotcom/mcp ssh libraries in the npm ecosystem. The issue involves aiondadotcom mcp-ssh command injection vulnerability in ssh operations. Remediation is available by upgrading affected packages to version 1.1.0.

CVE-2025-9654 at a Glance

CVE Identifier CVE-2025-9654
GHSA Identifier GHSA-694p-3fxc-m92h
Severity MODERATE
CVSS v3.1 Base Score 6.3
CWE Classification CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Affected Product @aiondadotcom/mcp ssh
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2025-9654

To remediate this vulnerability, upgrade all affected @aiondadotcom/mcp ssh dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@aiondadotcom/mcp-ssh fixed: 1.1.0
npm install @aiondadotcom/mcp-ssh@1.1.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @aiondadotcom/mcp-ssh

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-9654, inspect your project dependencies using npm:

npm ls @aiondadotcom/mcp-ssh

Analyze the terminal output to locate any version of @aiondadotcom/mcp ssh in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.0), your application is affected.

Note: The npm ls @aiondadotcom/mcp-ssh command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In @aiondadotcom/mcp ssh, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A security flaw has been discovered in AiondaDotCom mcp-ssh up to 1.0.3. Affected by this issue is some unknown functionality of the file server-simple.mjs. Performing manipulation results in command injection. The attack can be initiated remotely. Upgrading to version 1.0.4 and 1.1.0 can resolve this issue. The patch is named cd2566a948b696501abfa6c6b03462cac5fb43d8. It is advisable to upgrade the affected component.

CVE-2025-9654 Affected @aiondadotcom/mcp ssh Versions

1 component(s)
Fixed Versions:
1.1.0
Product / Package Ecosystem Affected Versions Fixed Version
@aiondadotcom/mcp-ssh
npm
< 1.1.0
1.1.0

References

Frequently Asked Questions

What is CVE-2025-9654?
CVE-2025-9654 is a security vulnerability in @aiondadotcom/mcp ssh involving AiondaDotCom mcp-ssh command injection vulnerability in SSH operations under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection').
Which @aiondadotcom/mcp ssh versions are affected?
Affected versions include releases prior to 1.1.0 across affected packages: @aiondadotcom/mcp-ssh.
What version fixes CVE-2025-9654?
Upgrading to 1.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @aiondadotcom/mcp-ssh affected?
Yes, @aiondadotcom/mcp-ssh is affected in releases prior to 1.1.0. Upgrade your dependency to 1.1.0 or later.
What is the CVSS score of CVE-2025-9654?
CVE-2025-9654 has a CVSS v3.1 base score of 6.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2025-9654?
CVE-2025-9654 is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.).
How can I check npm dependencies for CVE-2025-9654?
Run the dependency tree command: 'npm ls @aiondadotcom/mcp-ssh'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-694p-3fxc-m92h",
  "modified" : "2025-08-29T20:06:37Z",
  "published" : "2025-08-29T15:30:38Z",
  "aliases" : [ "CVE-2025-9654" ],
  "summary" : "AiondaDotCom mcp-ssh command injection vulnerability in SSH operations",
  "details" : "A security flaw has been discovered in AiondaDotCom mcp-ssh up to 1.0.3. Affected by this issue is some unknown functionality of the file server-simple.mjs. Performing manipulation results in command injection. The attack can be initiated remotely. Upgrading to version 1.0.4 and 1.1.0 can resolve this issue. The patch is named cd2566a948b696501abfa6c6b03462cac5fb43d8. It is advisable to upgrade the affected component.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@aiondadotcom/mcp-ssh"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-9654"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/AiondaDotCom/mcp-ssh/commit/5b9b9c5b28d3f2672f356a790154ed68e17ef453"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/AiondaDotCom/mcp-ssh/commit/cd2566a948b696501abfa6c6b03462cac5fb43d8"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/AiondaDotCom/mcp-ssh"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?ctiid.321862"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.321862"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?submit.637028"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-74" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-29T20:06:37Z",
    "nvd_published_at" : "2025-08-29T15:15:38Z"
  }
}