Pillar discloses Gemini CLI attack chain: GitHub issue prompt injection can lead to GCP project permission compromise
A WIF Of Fresh Access: How a GitHub Issue on Gemini-CLI Led to GCP Project Compromise
Pillar Security discloses an attack chain in the google/gemini-cli repository where an attacker can start from a malicious GitHub issue, achieve command execution in an automated CI workflow, and ultimately gain Editor-level permissions on the affected GCP project. The key to the attack chain is that the top-level coreTools configuration used by the workflow is no longer read in the current CLI (0.46.0); after the allowlist fails, --yolo mode falls back to a wildcard allow-all rule, enabling run_shell_command to execute arbitrary commands, which is what GHSA-wpqr-6v78-jr5g with CVSS 10.0 attempted to fix. Google stated that the demonstrated project quacktastic-waffle is a sandbox dedicated to Gemini CLI triage automation and has fixed two issues: tightening tool scopes and adding the OIDC credential file to .geminiignore, and restricting that role to a single service account resource.