Gemini CLI Vulnerability Could Have Led to Code Execution, Supply Chain Attack
- Published
- Record updated
Summary
Pillar Security reports a critical flaw in Gemini CLI, the open source AI agent, rated CVSS 10/10 but lacking a CVE identifier. In --yolo mode, Gemini CLI ignored tool allowlists, so an attacker could hide malicious prompts in a public GitHub issue and have the agent triage it run commands, extract build-environment secrets and send them to an attacker-controlled server. Pillar says at least eight other Google repositories used the same vulnerable workflow template.
Mitigation
Google addressed the vulnerability on April 24 in Gemini CLI version 0.39.1, which evaluates tool allowlisting under --yolo mode. The run-gemini-cli GitHub Action was also updated. The update additionally resolved a lax trust issue in headless mode, which automatically trusted the current workspace folder.
Topics
Related items
- InfoDespite doom and gloom headlines, AI attacks are thin on the groundSame vendor · CSO Online
- InfoThree LLM inflection points in twelve monthsSame vendor · Simon Willison's Weblog
- LowSignal joins United Airlines, banks in limiting AI agents over customer risksSame vendor · CNBC Technology
- MediumAftershock: Yesterday's Linux Kernel Bugs, Tomorrow's Android ExploitsSame vendor · Arxiv (cs.CR + cs.CL + cs.LG)
- InfoHumans Have Rights. Machines Do Not.Same vendor · Schneier on Security