همهٔ گزارش‌ها
زیاد

godot-mcp has Command Injection via unsanitized projectPath

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
< 0.1.1
نسخهٔ اصلاح‌شده
0.1.1

بهره‌برداری

CVE-2026-25546

احتمال بهره‌برداری در ۳۰ روز آینده: 0.95%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

Impact

A Command Injection vulnerability in godot-mcp allows remote code execution. The executeOperation function passed user-controlled input (e.g., projectPath) directly to exec(), which spawns a shell. An attacker could inject shell metacharacters like $(command) or &calc to execute arbitrary commands with the privileges of the MCP server process.

This affects any tool that accepts projectPath, including create_scene, add_node, load_sprite, and others.

Patches

Fixed in version 0.1.1 by switching from exec() to execFile(), which does not invoke a shell.

Workarounds

None. Users should upgrade immediately.

Resources

پیوندها

گزارش‌دهندگان

  • TianYu-0829
  • wcole3
  • Coding-Solo