logo

Critical Gemini CLI Vulnerability Enables Remote Code Execution Attacks

ID: d60200ca-7473-5196-8e50-02d7c134b372

STIX ID: report--d60200ca-7473-5196-8e50-02d7c134b372

Feed Name: Cyber Press

Threat Score
75/100

Date Published: 2026-04-27

Date Updated: 2026-04-27

Author: AnuPriya

...
...

Google released urgent security updates addressing a critical RCE vulnerability in the Gemini CLI and its GitHub Action that allowed attackers to bypass workspace trust and tool allowlists in headless CI/CD workflows. Attackers could inject malicious environment variables, perform prompt- and command-injection, execute arbitrary code, steal secrets, and modify code in automated pipelines. Google published fixes (Gemini CLI 0.39.1 / 0.40.0-preview.3 and Action 0.1.22) and recommends enforcing explicit workspace trust, strict tool allowlists, and auditing CI/CD pipelines.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.