Vulnerabilities in pkg:npm/@coding-solo/godot-mcp

PACKAGE
Advisory Identifier: GHSA-8jx2-rhfh-q928
Advisory Summary

CVE-2026-25546 is a HIGH (CVSS 7.8) godot-mcp has command injection vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting @coding solo/godot mcp libraries in the npm ecosystem. The issue involves godot-mcp has command injection via unsanitized projectpath. Remediation is available by upgrading affected packages to version 0.1.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@coding-solo/godot-mcp

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@coding-solo/godot-mcp. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-8jx2-rhfh-q928 CVE-2026-25546 HIGH godot-mcp has Command Injection via unsanitized projectPath

CVE-2026-25546 at a Glance

CVE Identifier CVE-2026-25546
GHSA Identifier GHSA-8jx2-rhfh-q928
Severity HIGH
CVSS v3.1 Base Score 7.8
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product @coding solo/godot mcp
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-25546

To remediate this vulnerability, upgrade all affected @coding solo/godot mcp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@coding-solo/godot-mcp fixed: 0.1.1
npm install @coding-solo/godot-mcp@0.1.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @coding-solo/godot-mcp

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-25546, inspect your project dependencies using npm:

npm ls @coding-solo/godot-mcp

Analyze the terminal output to locate any version of @coding solo/godot mcp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.1), your application is affected.

Note: The npm ls @coding-solo/godot-mcp command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In @coding solo/godot mcp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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

CVE-2026-25546 Affected @coding solo/godot mcp Versions

1 component(s)
Fixed Versions:
0.1.1
Product / Package Ecosystem Affected Versions Fixed Version
@coding-solo/godot-mcp
npm
< 0.1.1
0.1.1

References

Frequently Asked Questions

What is CVE-2026-25546?
CVE-2026-25546 is a security vulnerability in @coding solo/godot mcp involving godot-mcp has Command Injection via unsanitized projectPath under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which @coding solo/godot mcp versions are affected?
Affected versions include releases prior to 0.1.1 across affected packages: @coding-solo/godot-mcp.
What version fixes CVE-2026-25546?
Upgrading to 0.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @coding-solo/godot-mcp affected?
Yes, @coding-solo/godot-mcp is affected in releases prior to 0.1.1. Upgrade your dependency to 0.1.1 or later.
What is the CVSS score of CVE-2026-25546?
CVE-2026-25546 has a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-25546?
CVE-2026-25546 is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.).
How can I check npm dependencies for CVE-2026-25546?
Run the dependency tree command: 'npm ls @coding-solo/godot-mcp'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8jx2-rhfh-q928",
  "modified" : "2026-02-05T00:37:12Z",
  "published" : "2026-02-04T20:02:32Z",
  "aliases" : [ "CVE-2026-25546" ],
  "summary" : "godot-mcp has Command Injection via unsanitized projectPath",
  "details" : "### Impact \nA 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. \n\nThis affects any tool that accepts `projectPath`, including `create_scene`, `add_node`, `load_sprite`, and others. \n\n### Patches \nFixed in version 0.1.1 by switching from `exec()` to `execFile()`, which does not invoke a shell. \n\n### Workarounds \nNone. Users should upgrade immediately. \n\n### Resources\n - https://github.com/Coding-Solo/godot-mcp/issues/64\n - https://github.com/Coding-Solo/godot-mcp/pull/67",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@coding-solo/godot-mcp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Coding-Solo/godot-mcp/security/advisories/GHSA-8jx2-rhfh-q928"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25546"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Coding-Solo/godot-mcp/issues/64"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Coding-Solo/godot-mcp/pull/67"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Coding-Solo/godot-mcp/commit/21c785d923cfdb471ea60323c13807d62dfecc5a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Coding-Solo/godot-mcp"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-78" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-04T20:02:32Z",
    "nvd_published_at" : "2026-02-04T22:16:00Z"
  }
}