{"id":"CVE-2025-54994","published":"2025-09-08T19:37:42Z","modified":"2025-09-08T19:53:45Z","title":"@akoskm/create-mcp-server-stdio has Command Injection in MCP Server due to unsafe `exec` API","vendor":"akoskm","product":"create-mcp-server-stdio","tier":"tail","description":{"text":"@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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02213,"percentile":0.83305,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/akoskm/create-mcp-server-stdio/security/advisories/GHSA-3ch2-jxxc-v4xf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/akoskm/create-mcp-server-stdio/commit/48c26bbe1f8c62764e4592f33c8300d1cadd2eac","tags":["x_refsource_MISC"]},{"url":"https://github.com/akoskm/create-mcp-server-stdio/blob/main/src/index.ts#L24-L40","tags":["x_refsource_MISC"]}],"priority":{"score":23.2,"factors":[{"name":"EPSS percentile","points":16.66},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"akoskm","affectedVersions":[{"vendor":"akoskm","product":"create-mcp-server-stdio","versions":["< 0.0.13"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-09-08T19:53:37.664700Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@akoskm/create-mcp-server-stdio","vulnerableRanges":["<0.0.13"],"patched":["0.0.13"],"from":["GHSA-3ch2-jxxc-v4xf"],"provenance":"source"}],"summary":{"text":"The create-mcp-server-stdio MCP server starter kit by akoskm contains a command injection flaw in its which-app-on-port tool, which passes input to the Node.js exec child process API without neutralising special characters. An attacker with network access can run arbitrary operating system commands by supplying crafted input to that tool, requiring no authentication or user interaction, provided the affected version is in use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:06:58Z"},"euvd":{"id":"EUVD-2025-27167","exploited":false,"provenance":"source"}}