Vulnerability · Published Feb 4, 2026 · Assigned by GitHub_M
CVE-2026-25546Godot MCP is vulnerable to Command Injection via unsanitized projectPath
High 7.8
In plain English
A high-severity OS command injection in godot-mcp from Coding-Solo. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 61% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @coding-solo/godot-mcp | 0.1.1 | GHSA-8jx2-rhfh-q928 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Coding-Solo | godot-mcp | < 0.1.1 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/Coding-Solo/godot-mcp/security/advisories/GHSA-8jx2-rhfh-q928 x_refsource_CONFIRM
- https://github.com/Coding-Solo/godot-mcp/issues/64 x_refsource_MISC
- https://github.com/Coding-Solo/godot-mcp/pull/67 x_refsource_MISC
- https://github.com/Coding-Solo/godot-mcp/commit/21c785d923cfdb471ea60323c13807d62dfecc5a x_refsource_MISC