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.
History

Thu, 05 Feb 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Coding-solo
Coding-solo godot-mcp
Vendors & Products Coding-solo
Coding-solo godot-mcp

Wed, 04 Feb 2026 22:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Godot MCP is vulnerable to Command Injection via unsanitized projectPath
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2026-02-04T21:48:53.225Z

Updated: 2026-02-04T21:48:53.225Z

Reserved: 2026-02-02T19:59:47.375Z

Link: CVE-2026-25546

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-02-04T22:16:00.667

Modified: 2026-02-05T14:57:20.563

Link: CVE-2026-25546

cve-icon Redhat

No data.