{"id":"CVE-2026-25546","aliases":["CVE-2026-25546","GHSA-8jx2-rhfh-q928"],"related":[],"kind":"vulnerability","state":"published","title":"Godot MCP is vulnerable to Command Injection via unsanitized projectPath","summary":"Godot MCP is a Model Context Protocol (MCP) server for interacting with the Godot game engine. Prior to version 0.1.1, 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. This issue has been patched in version 0.1.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Godot MCP is a Model Context Protocol (MCP) server for interacting with the Godot game engine. Prior to version 0.1.1, 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. This issue has been patched in version 0.1.1.","source":"cvelist"},{"lang":"en","text":"### Impact \nA 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. \n\nThis affects any tool that accepts `projectPath`, including `create_scene`, `add_node`, `load_sprite`, and others. \n\n### Patches \nFixed in version 0.1.1 by switching from `exec()` to `execFile()`, which does not invoke a shell. \n\n### Workarounds \nNone. Users should upgrade immediately. \n\n### Resources\n - https://github.com/Coding-Solo/godot-mcp/issues/64\n - https://github.com/Coding-Solo/godot-mcp/pull/67","format":"markdown","source":"ghsa"},{"lang":"es","text":"Godot MCP es un servidor de Model Context Protocol (MCP) para interactuar con el motor de juego Godot. Antes de la versión 0.1.1, una vulnerabilidad de inyección de comandos en godot-mcp permite la ejecución remota de código. La función executeOperation pasaba la entrada controlada por el usuario (p. ej., projectPath) directamente a exec(), lo que genera un shell. Un atacante podría inyectar metacaracteres de shell como $(command) o &amp;calc para ejecutar comandos arbitrarios con los privilegios del proceso del servidor MCP. Esto afecta a cualquier herramienta que acepte projectPath, incluyendo create_scene, add_node, load_sprite y otras. Este problema ha sido parcheado en la versión 0.1.1.","source":"nvd"}],"published":"2026-02-04T20:02:32.000Z","modified":"2026-06-17T10:24:49.997Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 0.1.1","status":"affected"}],"vendor":"Coding-Solo","product":"godot-mcp","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.1.1"}],"ecosystem":"npm","package":"@coding-solo/godot-mcp","purl":"pkg:npm/%40coding-solo/godot-mcp","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.1.1"}],"vendor":"coding-solo","product":"godot_mcp","cpe":"cpe:2.3:a:coding-solo:godot_mcp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Coding-Solo/godot-mcp/security/advisories/GHSA-8jx2-rhfh-q928","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/Coding-Solo/godot-mcp/issues/64","tags":["issue-tracking","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/Coding-Solo/godot-mcp/pull/67","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/Coding-Solo/godot-mcp/commit/21c785d923cfdb471ea60323c13807d62dfecc5a","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25546","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Coding-Solo/godot-mcp","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-02-05T17:51:23.165Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-25546","url":"https://www.cve.org/CVERecord?id=CVE-2026-25546","licence":"CVE Terms of Use","modified":"2026-02-05T17:51:29.147Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8jx2-rhfh-q928","url":"https://github.com/advisories/GHSA-8jx2-rhfh-q928","licence":"CC-BY-4.0","modified":"2026-02-05T00:37:12.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-25546","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25546","licence":"Public domain","modified":"2026-06-17T10:24:49.997Z"}],"updatedAt":"2026-11-25T22:59:13.514Z","epss":{"score":0.00951,"percentile":0.62319,"date":"2026-12-01T12:00:22.000Z"}}