Critical Gemini CLI Flaw Enabled Host Code Execution, Supply Chain Attacks
Source SecurityWeek
Rated by Threat Radar
Data as of 30 Apr 2026, 12:36 UTC
What to do
AI-suggested
Google has released official patches for Gemini CLI and the associated 'run-gemini-cli' GitHub Action to remediate this vulnerability. Users and organizations should apply these updates promptly to eliminate the risk of arbitrary code execution. Since this is not a cloud-hosted service, remediation depends on patching the affected software versions. Patch status is confirmed by the vendor advisory.
Description
A critical remote code execution vulnerability was discovered in Gemini CLI, an open source AI agent for terminal access to Gemini. The flaw allowed an attacker to plant malicious configurations in the workspace folder, causing the AI agent to execute arbitrary commands on the host before sandbox initialization. This could lead to unauthorized access to secrets, credentials, and source code accessible by the workflow. The vulnerability also posed a risk of supply chain attacks within CI/CD pipelines by leveraging the execution privileges of trusted contributors. Google has patched this vulnerability in Gemini CLI and the related GitHub Action. No known exploits in the wild have been reported.