gemini-mcp-toolに引数インジェクションの脆弱性、任意のコマンドを実行されるおそれ
Summary
gemini-mcp-toolの1.1.8以前には、modelパラメーターを通じてGemini CLIのオプションを注入される脆弱性があります。攻撃者が呼び出し元のLLMエージェントに--yoloなどを渡させると、確認なしでホスト上のコマンド実行やファイル変更が行われるおそれがあります。CVSSv3は7.5、CVSSv4は7.7です。修正版の有無は公表されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
gemini-mcp-toolの1.1.8以前には、modelパラメーターを通じてGemini CLIのオプションを注入される脆弱性があります。攻撃者が呼び出し元のLLMエージェントに--yoloなどを渡させると、確認なしでホスト上のコマンド実行やファイル変更が行われるおそれがあります。CVSSv3は7.5、CVSSv4は7.7です。修正版の有無は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| jamubcgemini-mcp-tool |
≤ 1.1.8→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
gemini-mcp-tool through 1.1.8 contains an argument injection vulnerability in executeGeminiCLI() that allows attackers controlling MCP tool arguments to inject Gemini CLI options via the model parameter. Attackers can prompt-inject the calling LLM agent to pass values like --yolo to ask-gemini or brainstorm, enabling auto-approve mode for host command execution and file modification.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com