CVE-2025-9654 AiondaDotCom mcp-ssh server-simple.mjs command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary commands via command injection in the mcp-ssh library, requiring an upgrade to secure the system.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-9654?

CVE-2025-9654 is a medium-severity command injection vulnerability in AiondaDotCom mcp-ssh, published on 29 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2025-9654?

2 open source packages ship an affected version, including @aiondadotcom/mcp-ssh.

PackageAffectedFixed in
@aiondadotcom/mcp-ssh npmAll versions1.1.0
@aiondadotcom/mcp-ssh npmAll versions1.1.0

How do I fix CVE-2025-9654?

Upgrade @aiondadotcom/mcp-ssh to 1.1.0 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-9654 being exploited?

There is no known exploitation of CVE-2025-9654 in the wild and no public exploit code.

Sources

Also known as GHSA-694p-3fxc-m92h.

Is CVE-2025-9654 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free