CVE-2026-25546: godot-mcp has Command Injection via unsanitized projectPath
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.
Published Feb 4, 2026 · Updated Feb 8, 2026
Affected packages
@coding-solo/godot-mcp
- Ecosystem
- npm
- Affected
- < 0.1.1
- Fixed in
- 0.1.1
- Check
npm ls @coding-solo/godot-mcp
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to TianYu-0829, wcole3, Coding-Solo.
References
- https://github.com/Coding-Solo/godot-mcp/security/advisories/GHSA-8jx2-rhfh-q928
- https://github.com/Coding-Solo/godot-mcp/issues/64
- https://github.com/Coding-Solo/godot-mcp/pull/67
- https://github.com/Coding-Solo/godot-mcp/commit/21c785d923cfdb471ea60323c13807d62dfecc5a
- https://nvd.nist.gov/vuln/detail/CVE-2026-25546
- https://github.com/advisories/GHSA-8jx2-rhfh-q928
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Other MCP servers and tools vulnerabilities
All Other MCP servers and tools entriesCVE-2026-77361
obsidian-tc : Symlink read-ACL scope bypass via lexical path checks
medium4.7Oct 23, 2026CVE-2026-114126
Storybook dev server vulnerable to code injection from the local network
high8.7Oct 22, 2026CVE-2026-113731
djust: Arbitrary absolute-path file read in the find_handlers_for_template MCP tool
low3.3Oct 21, 2026CVE-2026-114125
Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites
critical9.4Oct 21, 2026CVE-2026-111770
MCP TypeScript server SDK: Shared transport or server instances delivered one HTTP client's messages to another
high7.7Oct 20, 2026GHSA-953h-535j-jg2v
agent-router: MCP session resume does not verify the embedded anti-hijacking subject; default Helm seed makes session IDs forgeable
medium6.8Oct 19, 2026
