提交 #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分 (2 月前)
管理2026-04-29 18時57分 (16 days later)
状态已接受
VulDB条目360187 [VetCoders mcp-server-semgrep 1.0.0 MCP Interface src/index.ts 标识符 权限提升]
积分20

Might our Artificial Intelligence support you?

Check our Alexa App!