Advisory

GHSA-4h5r-5jm8-jxjm

Also known as: 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.

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-06-18 20:44 UTC
Modified
2026-06-18 21:11 UTC

Affected packages and fixes

gemini-mcp-tool

npm · All systems

Affected

  • introduced 1.1.2, fixed 1.1.6 (semver)

Fixed versions

1.1.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences