ReportedReported by fewer than three independent publishers, with no official finding.
Google Gemini CLI vulnerable to remote code execution via MCP configuration
Mindgard AI disclosed a remote code execution vulnerability in Google's Gemini CLI that allows attackers to execute arbitrary code through malicious Model Context Protocol server configurations in workspace settings.
AII-1001-57767View source β
What happened
The gemini-cli is vulnerable to Arbitrary Code Execution (RCE) via malicious Model Context Protocol (MCP) server definitions in workspace settings. Workspace settings can configure MCP servers through the mcpServers or mcp.serverCommand fields in .gemini/settings.json.
Classification
Sources and evidence
This record was researched and written by the Index, based on the following original reporting.