Vulnerability · Published Sep 8, 2025 · Assigned by GitHub_M

CVE-2025-54994@akoskm/create-mcp-server-stdio has Command Injection in MCP Server due to unsafe `exec` API

Critical 9.3

In plain English

A critical-severity OS command injection in create-mcp-server-stdio from akoskm. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)9.3Critical
Exploit odds (30 days)1.3%top 28.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

@akoskm/create-mcp-server-stdio is an MCP server starter kit that uses the StdioServerTransport. Prior to version 0.0.13, the MCP Server is written in a way that is vulnerable to command injection vulnerability attacks as part of some of its MCP Server tool definition and implementation. The MCP Server exposes the tool `which-app-on-port` which relies on Node.js child process API `exec` which is an unsafe and vulnerable API if concatenated with untrusted user input. Version 0.0.13 contains a fix for the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@akoskm/create-mcp-server-stdio0.0.13GHSA-3ch2-jxxc-v4xf

Affected products (as reported)

VendorProductVersions
akoskm create-mcp-server-stdio < 0.0.13

Weakness: CWE-78 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

References