CyberSIXT Search
Original
Image: SecurityWeek

SecurityWeekEduard Kovacs

Critical Gemini CLI flaw lets attackers run arbitrary host code

SecurityWeek reports a critical remote code execution flaw in Gemini CLI, an open source AI agent that provides lightweight access to Gemini from a terminal, which could allow an attacker to run commands on the host by planting a malicious configuration in the workspace folder before sandbox initialisation.

According to Novee Security researchers, Gemini CLI automatically trusted the current workspace, loading agent configurations without review or human approval, enabling potential host execution of arbitrary commands. The researchers said that, across affected workflows, the impact was consistent: code execution on the host could give an unprivileged outsider access to secrets, credentials, and source code reachable by the workflow.

They warned that a threat actor could have exploited the flaw to steal tokens and move laterally to downstream systems, and noted in the CI/CD context that this could facilitate a supply chain attack. The vulnerability has been patched by Google in both Gemini CLI and the run-gemini-cli GitHub Action, according to SecurityWeek’s reporting, with the disclosure attributed to Novee researchers. The piece was written by Eduard Kovacs on 30 April 2026.

Sources

On this device

Following

Intel

VendorsThreat actorsResearch reports

Settings

CyberSIXT summarises security news every 30 minutes.

↑↓ move↵ open⌘C copy CVE IDEsc close

Keyboard shortcuts

Everything works with a mouse or touch. Shortcuts are a faster path.

Search ⌘K
Search /
Next item J
Previous item K
Go to Today GT
Go to News GN
Go to CVEs GC
Go to Briefing GB
Reduce motion on this device