| Package | Affected versions | Patched versions |
|---|---|---|
| gemini-mcp-tool | ≥ 1.1.2, < 1.1.6 | 1.1.6 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free