mcp-cve-project

CVE-2025-54994 | @akoskm/create-mcp-server-stdio | Critical |

CVE Information

Field Value
CVE / NVD CVE-2025-54994
EPSS score 0.004440000 (FIRST EPSS, 2026-05-29)
Date (index) 2025-09-08
Affected product (index) @akoskm/create-mcp-server-stdio (which-app-on-port command injection via unsafe exec; also cited in OX supply-chain advisory)
GHSA ID GHSA-3ch2-jxxc-v4xf
OWASP MCP Top 10 (2025) MCP04 — Software Supply Chain Attacks & Dependency Tampering
Published / disclosed 2025-09-08 (NVD published; GitHub-advisory sourced)
Ecosystem npm
Component @akoskm/create-mcp-server-stdio
CVSS score CVSS:4.0 9.3 Critical (GHSA secondary metric in NVD)
CWE CWE-78
Affected versions < 0.0.13
Fixed versions 0.0.13
Fix status Patched
Exploit status Public advisory + fix commit referenced in NVD
Notes Starter kit exposes MCP tool which-app-on-port using Node exec with untrusted-concatenation risk per advisory text.
NVD status Deferred (per NVD JSON API, 2026-05-14)

CVE Breakdown


What is the vulnerability?

The package’s MCP server implementation exposes a tool that uses child_process.exec in an unsafe way, allowing command injection when untrusted input reaches the affected code path.

Attack prerequisites / exposure

An attacker who can influence arguments or data consumed by the affected tool (including via prompt-driven tool use in MCP deployments) may achieve arbitrary command execution in the server process context.

CVE is because of what bug?

Use of exec with attacker-influenced strings instead of parameterized/spawn-based execution and input validation.

MCP-specific impact / why it matters

Scaffolding packages propagate default tool designs across many deployments; one unsafe tool definition in a stdio MCP server becomes a broad supply-chain pattern risk.

Where was the bug? (source + snippet)