提交 #807541: privsim mcp-test-runner 0.2.0, Commit 83c84ed053f534774f7de935aeaa7698a5e5f9dc Command Injection信息

标题privsim mcp-test-runner 0.2.0, Commit 83c84ed053f534774f7de935aeaa7698a5e5f9dc Command Injection
描述A command injection vulnerability (CWE-78) has been identified in mcp-test-runner (package @modelcontextprotocol/server-test-runner) version 0.2.0, specifically within the run_tests MCP tool. The tool accepts a user‑supplied command argument and, when a non‑generic framework (e.g., jest, pytest) is selected, executes it via child_process.spawn with shell: true without validation or sanitization. An attacker with network access to the MCP interface can inject arbitrary shell commands into the command parameter, leading to full host compromise, including data exposure, integrity loss, and service disruption. No fixed version is available at the time of reporting.
来源⚠️ https://github.com/privsim/mcp-test-runner/issues/24
用户
 BruceJqs (UID 97404)
提交2026-04-18 08時12分 (2 月前)
管理2026-05-03 18時05分 (15 days later)
状态已接受
VulDB条目360905 [privsim mcp-test-runner 0.2.0 MCP Interface src/index.ts child_process.spawn command 权限提升]
积分20

Do you want to use VulDB in your project?

Use the official API to access entries easily!