PT-2026-6397 · Npm · @Coding-Solo/Godot-Mcp

Published

2026-02-04

·

Updated

2026-02-04

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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

Fix

OS Command Injection

Weakness Enumeration

Related Identifiers

GHSA-8JX2-RHFH-Q928

Affected Products

@Coding-Solo/Godot-Mcp