CVE-2025-9654 in mcp-sshinfo

Summary

by MITRE • 08/29/2025

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.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 07/14/2026

The security vulnerability identified in AiondaDotCom mcp-ssh version 1.0.3 and earlier represents a critical command injection flaw that compromises the integrity of the file server-simple.mjs functionality. This vulnerability stems from insufficient input validation and sanitization within the ssh server implementation, creating an attack surface where malicious actors can manipulate system commands through crafted inputs. The flaw affects the core file server component that handles remote file operations, potentially allowing unauthorized users to execute arbitrary commands on the underlying system with the privileges of the ssh service account.

The technical exploitation of this vulnerability occurs through remote manipulation of the affected functionality, leveraging improper handling of user-supplied data within the server-simple.mjs module. When legitimate input is processed without adequate sanitization, attackers can inject malicious command sequences that get executed by the system shell, effectively bypassing authentication mechanisms and gaining unauthorized access to system resources. This type of vulnerability aligns with CWE-77 and CWE-94, which specifically address command injection and code injection flaws respectively. The attack vector is particularly dangerous because it operates over network protocols without requiring local system access, making it ideal for remote exploitation scenarios.

The operational impact of this vulnerability extends beyond simple unauthorized command execution, potentially enabling attackers to escalate privileges, access sensitive data, modify system configurations, or establish persistent backdoors within the affected environment. The vulnerability affects not just individual file operations but could compromise the entire ssh server infrastructure, particularly when multiple users interact with the vulnerable file handling components. This flaw violates fundamental security principles of input validation and privilege separation, creating opportunities for attackers to leverage the compromised service for further reconnaissance or lateral movement within network environments.

Security mitigation requires immediate implementation of the vendor-provided patch identified by commit hash cd2566a948b696501abfa6c6b03462cac5fb43d8, which addresses the root cause through proper input sanitization and command execution restrictions. System administrators should prioritize upgrading to version 1.0.4 or 1.1.0 to eliminate the attack surface entirely, as these releases contain the necessary code modifications to prevent malicious command injection attempts. The patch implementation should be followed by comprehensive security monitoring to detect any potential exploitation attempts and system integrity verification to ensure no unauthorized changes have occurred. Additionally, organizations should implement network segmentation controls to limit access to ssh services and maintain regular vulnerability assessments to identify similar issues within their broader technology stack, following ATT&CK framework guidance for command and control activities that may result from such vulnerabilities.

Responsible

VulDB

Disclosure

08/29/2025

Moderation

accepted

CPE

ready

EPSS

0.01315

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!