@akoskm/create-mcp-server-stdio has Command Injection in MCP Server due to unsafe `exec` API
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
@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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| akoskm | create-mcp-server-stdio | before 0.0.13 | 0.0.13 | Patch available | CNA |
| — | @akoskm/create-mcp-server-stdio (npm) | before 0.0.13 | 0.0.13 | Patch available | GHSA-3ch2-jxxc-v4xf |
- create-mcp-server-stdio Vendorakoskm Affected before 0.0.13 Fixed in 0.0.13 Patch available CNA
- @akoskm/create-mcp-server-stdio (npm) Vendor— Affected before 0.0.13 Fixed in 0.0.13 Patch available GHSA-3ch2-jxxc-v4xf
Remediation
- Fix · CNA create-mcp-server-stdio (akoskm) Fixed in 0.0.13
- Fix · GHSA-3ch2-jxxc-v4xf @akoskm/create-mcp-server-stdio (npm) Fixed in 0.0.13 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-54994
- 2026-10-03 Alias added: GHSA-3ch2-jxxc-v4xf
References
Other 5
- 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
- https://github.com/akoskm/create-mcp-server-stdio/pull/1
- https://github.com/akoskm/create-mcp-server-stdio
Sources
- CVE-2025-54994 · CVE Program
- CVE-2025-54994 · NVD
- FIRST EPSS
- GHSA-3ch2-jxxc-v4xf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences