Command Injection Affecting @akoskm/create-mcp-server-stdio package, versions <0.0.13


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.32% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-AKOSKMCREATEMCPSERVERSTDIO-12670802
  • published15 Sept 2025
  • disclosed8 Sept 2025
  • creditLiran Tal

Introduced: 8 Sep 2025

CVE-2025-54994  (opens in a new tab)
CWE-77  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade @akoskm/create-mcp-server-stdio to version 0.0.13 or higher.

Overview

@akoskm/create-mcp-server-stdio is a MCP Server Starter kit using the StdioServerTransport

Affected versions of this package are vulnerable to Command Injection via the which-app-on-port tool, which executes exec on user input. An attacker can execute arbitrary commands on the host system by supplying specially crafted input containing shell metacharacters.

CVSS Base Scores

version 4.0
version 3.1