What’s Vulnerable › Vulnerabilities
CVE-2025-54994: @akoskm/create-mcp-server-stdio has Command Injection in MCP Server due to unsafe `exec` API
- Severity: critical (CVSS 9.3 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-08 · updated 2026-06-17
- Weakness: CWE-78
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 products
- akoskm create-mcp-server-stdio: before 0.0.13
References
- https://github.com/akoskm/create-mcp-server-stdio/blob/main/src/index.ts#L24-L40
- https://github.com/akoskm/create-mcp-server-stdio/commit/48c26bbe1f8c62764e4592f33c8300d1cadd2eac
- https://github.com/akoskm/create-mcp-server-stdio/security/advisories/GHSA-3ch2-jxxc-v4xf
Get alerted when CVE-2025-54994 or the next vulnerability affects your stack