Vulnerabilities in pkg:npm/gemini-mcp-tool

PACKAGE
Advisory Identifier: GHSA-4h5r-5jm8-jxjm
Advisory Summary

CVE-2026-0755 is a CRITICAL (CVSS 9.8) gemini-mcp-tool vulnerable to os command vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Gemini mcp tool libraries in the npm ecosystem. The issue involves gemini-mcp-tool vulnerable to os command injection and @file exfiltration via prompt quoting (cve-2026-0755). Remediation is available by upgrading affected packages to version 1.1.6.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/gemini-mcp-tool

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/gemini-mcp-tool. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-4h5r-5jm8-jxjm CVE-2026-0755 CRITICAL gemini-mcp-tool vulnerable to OS command injection and @file exfiltration via prompt quoting (CVE-2026-0755)
GHSA-28qq-5f47-r5x2 - CRITICAL Duplicate Advisory: gemini-mcp-tool vulnerable to OS command injection and @file exfiltration via prompt quoting (CVE-2026-0755)

CVE-2026-0755 at a Glance

CVE Identifier CVE-2026-0755
GHSA Identifier GHSA-4h5r-5jm8-jxjm
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Gemini mcp tool
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 9.8

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

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

How to Fix CVE-2026-0755

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

gemini-mcp-tool fixed: 1.1.6
npm install gemini-mcp-tool@1.1.6
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 gemini-mcp-tool

How to Check if You Are Affected

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

npm ls gemini-mcp-tool

Analyze the terminal output to locate any version of Gemini mcp tool in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.6), your application is affected.

Note: The npm ls gemini-mcp-tool 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 Gemini mcp tool, 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

Untrusted prompt input could reach the Gemini CLI @file parser, allowing read/exfiltration of arbitrary local files (@/etc/passwd, @~/.ssh/id_rsa, @../../secret). On Windows, unquoted cmd.exe metacharacters could break out into OS command injection. Fix (1.1.6): removed the broken shell:false double-quote wrapping; added assertSafeFileReferences() to contain @file refs to the working directory; hardened Windows cmd.exe argument quoting.

CVE-2026-0755 Affected Gemini mcp tool Versions

1 component(s)
Fixed Versions:
1.1.6
Product / Package Ecosystem Affected Versions Fixed Version
gemini-mcp-tool
npm
≥ 1.1.2
< 1.1.6
1.1.6

References

Frequently Asked Questions

What is CVE-2026-0755?
CVE-2026-0755 is a security vulnerability in Gemini mcp tool involving gemini-mcp-tool vulnerable to OS command injection and @file exfiltration via prompt quoting (CVE-2026-0755) under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Gemini mcp tool versions are affected?
Affected versions include releases prior to 1.1.6 across affected packages: gemini-mcp-tool.
What version fixes CVE-2026-0755?
Upgrading to 1.1.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is gemini-mcp-tool affected?
Yes, gemini-mcp-tool is affected in releases prior to 1.1.6. Upgrade your dependency to 1.1.6 or later.
What is the CVSS score of CVE-2026-0755?
CVE-2026-0755 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-0755?
CVE-2026-0755 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-0755?
Run the dependency tree command: 'npm ls gemini-mcp-tool'. 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-4h5r-5jm8-jxjm",
  "modified" : "2026-06-18T20:44:58Z",
  "published" : "2026-06-18T20:44:58Z",
  "aliases" : [ "CVE-2026-0755" ],
  "summary" : "gemini-mcp-tool vulnerable to OS command injection and @file exfiltration via prompt quoting (CVE-2026-0755)",
  "details" : "Untrusted prompt input could reach the Gemini CLI @file parser, allowing read/exfiltration of arbitrary local files (@/etc/passwd, @~/.ssh/id_rsa, @../../secret). On Windows, unquoted cmd.exe metacharacters could break out into OS command injection.\n\nFix (1.1.6): removed the broken shell:false double-quote wrapping; added assertSafeFileReferences() to contain @file refs to the working directory; hardened Windows cmd.exe argument quoting.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "gemini-mcp-tool"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.1.2"
      }, {
        "fixed" : "1.1.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/jamubc/gemini-mcp-tool/security/advisories/GHSA-4h5r-5jm8-jxjm"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-0755"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jamubc/gemini-mcp-tool"
  }, {
    "type" : "WEB",
    "url" : "https://www.zerodayinitiative.com/advisories/ZDI-26-021"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-78" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-18T20:44:58Z",
    "nvd_published_at" : null
  }
}