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

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-01)
- Published: 2025-09-08T19:37:42.667Z
- Modified: 2026-06-17T09:41:04.833Z
- Also known as: GHSA-3ch2-jxxc-v4xf
- Weaknesses: CWE-77, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- akoskm create-mcp-server-stdio: < 0.0.13
- @akoskm/create-mcp-server-stdio (npm): before 0.0.13

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:4.0 Critical `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

- <https://github.com/akoskm/create-mcp-server-stdio/security/advisories/GHSA-3ch2-jxxc-v4xf> (web)
- <https://github.com/akoskm/create-mcp-server-stdio/commit/48c26bbe1f8c62764e4592f33c8300d1cadd2eac> (web)
- <https://github.com/akoskm/create-mcp-server-stdio/blob/main/src/index.ts#L24-L40> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54994> (advisory)
- <https://github.com/akoskm/create-mcp-server-stdio/pull/1> (web)
- <https://github.com/akoskm/create-mcp-server-stdio> (package)

## Sources

- CVE List: [CVE-2025-54994](https://www.cve.org/CVERecord?id=CVE-2025-54994), CVE Terms of Use, modified 2025-09-08
- GitHub Advisory Database: [GHSA-3ch2-jxxc-v4xf](https://github.com/advisories/GHSA-3ch2-jxxc-v4xf), CC-BY-4.0, modified 2025-09-10
- NVD: [CVE-2025-54994](https://nvd.nist.gov/vuln/detail/CVE-2025-54994), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54994 · Whole record: https://cve.day/CVE-2025-54994.json · Rebuilt by cve.day 2026-11-25T22:59:04.342Z
