CVE-2026-25546CWE-78

Godot MCP is vulnerable to Command Injection via unsanitized projectPath

High · published February 4, 2026

CVSS v3.1
7.8
EPSS
1%
Percentile
62.8
In the wild
Unconfirmed
What it is

⚡ A sneaky command injection vulnerability in Godot MCP allows remote code execution! Imagine an attacker using a simple project path to unleash chaos and execute arbitrary commands. 🚨 Think of it like a restaurant where the chef blindly follows any special request from the diners — if the customer whispers a secret ingredient, it could ruin the meal! In this case, the executed commands can wreak havoc on the server's privileges. An attacker could control the server like a puppet, executing any command they desire. This could lead to unauthorized access to sensitive data, changing project files, or even shutting down the entire system. The potential fallout is absolutely devastating!

Put simply

Think of it like a restaurant where the chef blindly follows any special request from the diners — if the customer whispers a secret ingredient, it could ruin the meal! In this case, the executed commands can wreak havoc on the server's privileges. This vulnerability occurs because the 'executeOperation' function in Godot MCP passes user-controlled input directly to the exec() function, allowing attackers to inject shell metacharacters into commands.

What to do

An attacker could control the server like a puppet, executing any command they desire. This could lead to unauthorized access to sensitive data, changing project files, or even shutting down the entire system. The potential fallout is absolutely devastating! Upgrade to version 0.1.1 immediately to patch this vulnerability. Additionally, ensure that all functions that handle user input, like projectPath, properly sanitize and validate data before executing any commands. Regular security audits can also help catch any similar issues. You've got this! Follow the steps to lock this down and keep your game projects secure! 🛡️

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01010 · 62.8th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-02-04T21:48Z
EPSS history
Timeline
  • 04 FEB 21:48Z
    Godot MCP is vulnerable to Command Injection via unsanitized projectPath
    cvelistv5