🔒 Security release — upgrade immediately
All users on 1.1.2 – 1.1.5 should upgrade to 1.1.6.
CVE-2026-0755 (CWE-78) — OS command injection / @file exfiltration
Untrusted prompt input could reach the Gemini CLI @file parser, allowing it to read and exfiltrate arbitrary local files (@/etc/passwd, @~/.ssh/id_rsa, @../../secret). On Windows, unquoted cmd.exe metacharacters could break out into OS command injection.
Fix
- Removed the broken
shell:falsedouble-quote wrapping that provided no protection and corrupted@filereferences. - Added
assertSafeFileReferences()— rejects any@filereference resolving outside the project working directory (absolute paths,~home references, and../traversal). - Hardened Windows
cmd.exeargument quoting so metacharacters in spaceless tokens can no longer break out.
| Package | gemini-mcp-tool (npm)
|
| Affected | >= 1.1.2, < 1.1.6
|
| Patched | 1.1.6
|
| Severity | Critical (CVSS 9.8) |
References
Upgrade: npm install -g gemini-mcp-tool@1.1.6