Critical Gemini CLI Flaw Enabled Host Code Execution, Supply Chain Attacks
- Published
- Record updated
Summary
Novee Security researchers found a critical remote code execution flaw in Gemini CLI, an open source AI agent for terminal access to Gemini, which Google patched in Gemini CLI and the 'run-gemini-cli' GitHub Action. Gemini CLI automatically trusted the current workspace folder and loaded any agent configuration in it without review, sandboxing or approval, so an attacker who planted a malicious configuration could run arbitrary commands on the host before sandbox initialization. The researchers said this could expose secrets, credentials and source code and enable token theft, lateral movement and supply chain attacks in CI/CD pipelines.
Mitigation
Google patched the flaw in both Gemini CLI and the 'run-gemini-cli' GitHub Action. The source does not give fixed version numbers or further configuration steps.
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