CVE-2026-25546: Command Injection Vulnerability in @coding-solo/godot-mcp
Summary
CVE-2026-25546: godot-mcp has Command Injection via unsanitized projectPath. Affects @coding-solo/godot-mcp versions < 0.1.1. Fixed in 0.1.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The @coding-solo/godot-mcp package is a tool designed for managing Godot game engine projects. It provides functionalities such as creating scenes, adding nodes, and loading sprites. However, it has been found to be vulnerable to command injection due to improper handling of user input, specifically the projectPath parameter.
Vulnerability Detail
A Command Injection vulnerability exists in the @coding-solo/godot-mcp package, allowing remote code execution. The issue arises from the executeOperation function, which directly passes user-controlled input to the exec() function, enabling attackers to inject shell metacharacters like $(command) or &calc. This can lead to arbitrary command execution with the privileges of the MCP server process, posing significant security risks.
How To Fix
Minimum fixed version
0.1.1
This is the first release that contains the fix.
npm install @coding-solo/godot-mcp@0.1.1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There are no effective workarounds for this vulnerability. Users are strongly advised to upgrade to the patched version immediately.
Conclusion
The @coding-solo/godot-mcp package has a critical command injection vulnerability that can lead to severe security risks. Users are urged to upgrade to version 0.1.1 or later to protect their applications. Regular monitoring with tools like Vulert can help maintain security against such vulnerabilities.
See every vulnerability recorded for @coding-solo/godot-mcp →
FAQ
The vulnerability is a command injection flaw that allows attackers to execute arbitrary commands on the server running the MCP process.
You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your package-lock.json without needing to sign up.
If exploited, this vulnerability can lead to unauthorized access and control over the server, potentially compromising sensitive data and system integrity.
Yes, the CVSS score for this vulnerability is 7.8, indicating a high severity level.
While there are no workarounds, it is critical to prioritize upgrading to the patched version as soon as possible to mitigate the risk.