Advisory

GHSA-8jx2-rhfh-q928

Also known as: CVE-2026-25546

Summary

godot-mcp has Command Injection via unsanitized projectPath

Details

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

  • https://github.com/Coding-Solo/godot-mcp/issues/64
  • https://github.com/Coding-Solo/godot-mcp/pull/67

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-02-04 20:02 UTC
Modified
2026-02-05 00:37 UTC

Affected packages and fixes

@coding-solo/godot-mcp

npm · All systems

Affected

  • introduced 0, fixed 0.1.1 (semver)

Fixed versions

0.1.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences