Warning
vulnerableVerifiedAGT-2026-0050
gemini-mcp-tool vulnerable to OS command injection and @file exfiltration via prompt quoting (CVE-2026-0755)
A real bug in otherwise honest software. Check your version against the affected range below.
GHSA-4h5r-5jm8-jxjm · CVE-2026-0755
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.
Imported from OSV GHSA-4h5r-5jm8-jxjm.
Affected
- npm:gemini-mcp-tool
- >= 1.1.2, < 1.1.6 (fixed in 1.1.6)
Field marks
- Kind
- mcp server
- Reported by
- osv-import
Sources
- osv.dev https://osv.dev/vulnerability/GHSA-4h5r-5jm8-jxjm
- github.com https://github.com/jamubc/gemini-mcp-tool/security/advisories/GHSA-4…
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-0755
- github.com https://github.com/jamubc/gemini-mcp-tool
- zerodayinitiative.com https://www.zerodayinitiative.com/advisories/ZDI-26-021
Wrong or outdated? Open an issue or PR against corpus/entries/AGT-2026-0050.json.