提出 #804100: VetCoders mcp-server-semgrep 1.0.0 Command Injection情報

タイトルVetCoders mcp-server-semgrep 1.0.0 Command Injection
説明An OS command injection vulnerability (CWE-78) has been identified in mcp-server-semgrep version 1.0.0, specifically within src/index.ts. Multiple MCP tools (including analyze_results, filter_results, export_results, compare_results, scan_directory, and create_rule) accept user‑controlled path or rule arguments, perform only a prefix‑based directory check, and then interpolate the values unsafely into shell command strings executed via child_process.exec. An attacker with network access to the MCP interface can inject shell metacharacters (e.g., ;, #) into these arguments to execute arbitrary operating system commands with the privileges of the server process, 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/VetCoders/mcp-server-semgrep/issues/12
ユーザー
 _Eternity_ (UID 97332)
送信2026年04月14日 05:54 (6 月 ago)
モデレーション2026年04月29日 18:57 (16 days later)
ステータス承諾済み
VulDBエントリ360187 [VetCoders mcp-server-semgrep 1.0.0 MCP Interface src/index.ts id 特権昇格]
ポイント20

Do you need the next level of professionalism?

Upgrade your account now!