Skip to content
  • Home
  • Cyber Map
  • About Us – Contact
  • Disclaimer
  • Terms and Rules
  • Privacy Policy
Cyber Web Spider Blog – News

Cyber Web Spider Blog – News

Globe Threat Map provides a real-time, interactive 3D visualization of global cyber threats. Monitor DDoS attacks, malware, and hacking attempts with geo-located arcs on a rotating globe. Stay informed with live logs and archive stats.

  • Home
  • Cyber Map
  • Cyber Security News
  • Security Week News
  • The Hacker News
  • How To?
  • Toggle search form
Google Patches Critical Gemini CLI Vulnerability

Google Patches Critical Gemini CLI Vulnerability

Posted on April 27, 2026 By CWS

Google has recently addressed a significant security vulnerability in its Gemini CLI tool, which posed a risk of remote code execution in automated workflows.

Impact on Automated Environments

This vulnerability was found in the npm package @google/gemini-cli and the google-github-actions/run-gemini-cli GitHub Action. It primarily affected systems operating in headless environments, such as Continuous Integration and Continuous Deployment (CI/CD) pipelines.

The security advisory highlighted two primary weaknesses: unsafe handling of workspace trust and a flaw in tool allowlisting when the –yolo mode was activated.

Detailed Breakdown of Vulnerabilities

The first issue was related to workspace trust in non-interactive modes. Previous versions of Gemini CLI automatically trusted current workspaces, allowing it to load configuration files and environment variables from the .gemini/ directory without needing user approval. This opened up the potential for malicious actors to execute harmful commands by placing malicious content in that directory.

The second flaw involved tool allowlisting under –yolo mode. Previous versions failed to enforce strict tool restrictions specified in ~/.gemini/settings.json, which could inadvertently permit execution of dangerous commands through prompt injection, especially in environments processing untrusted input.

Security Measures and Recommendations

This vulnerability was particularly concerning for Gemini CLI deployments in headless modes, including numerous GitHub Actions workflows. Google advises all users to reassess the configuration of Gemini CLI in automation pipelines, especially where external contributions can affect files or settings.

Patches are now available for both the @google/gemini-cli and the run-gemini-cli GitHub Action. Users are urged to upgrade to the latest versions immediately. Additionally, Google has implemented a major security change: headless mode will no longer automatically trust workspace folders. Organizations using trusted inputs must now explicitly configure GEMINI_TRUST_WORKSPACE: ‘true’.

Future Outlook and Security Awareness

This incident, reported by Elad Meged of Novee Security and Dan Lisichkin of Pillar Security, underscores the growing risks associated with AI-driven developer tools. When automation and shell access intersect with untrusted inputs, policy gaps can become critical vulnerabilities.

Users are encouraged to follow Google’s hardening guidelines and carefully evaluate allowed tools and command execution settings to mitigate future risks.

Cyber Security News Tags:AI security, automation security, CI/CD, Cybersecurity, Dan Lisichkin, developer tools, Elad Meged, Gemini CLI, GitHub actions, Google, remote code execution, security flaw, vulnerability patch, Vulnerability Rewards Program

Post navigation

Previous Post: ClickUp’s API Key Leak Exposes Fortune 500 Emails
Next Post: EU Pushes Google to Share Anonymized User Data

Related Posts

Cybersecurity Professionals Plead Guilty to Launching Ransomware Attacks Cybersecurity Professionals Plead Guilty to Launching Ransomware Attacks Cyber Security News
Critical Flaws in OpenClaw AI Threaten 245,000 Servers Critical Flaws in OpenClaw AI Threaten 245,000 Servers Cyber Security News
New Text Message Based Phishing Attack from China Targeting Users Around the Globe New Text Message Based Phishing Attack from China Targeting Users Around the Globe Cyber Security News
Earth Ammit Hackers Attacking Using New Tools to Attack Drones Used in Military Sectors Earth Ammit Hackers Attacking Using New Tools to Attack Drones Used in Military Sectors Cyber Security News
Threat Actors Leverage Zoho WorkDrive Folder to Deliver Obfuscated PureRAT Malware Threat Actors Leverage Zoho WorkDrive Folder to Deliver Obfuscated PureRAT Malware Cyber Security News
LLM Passwords Show Security Risks Due to Predictability LLM Passwords Show Security Risks Due to Predictability Cyber Security News

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Recent Posts

  • Ivanti, Fortinet, SAP Address Critical Security Flaws
  • GitHub’s NPM 12 Blocks Script Execution to Enhance Security
  • China-Linked JDY Botnet Expands to Over 1,500 Devices
  • GitHub to Restrict npm Scripts by Default to Enhance Security
  • Critical Flaw in Splunk Enterprise Enables Unauthorized Code Execution

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Archives

  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025

Recent Posts

  • Ivanti, Fortinet, SAP Address Critical Security Flaws
  • GitHub’s NPM 12 Blocks Script Execution to Enhance Security
  • China-Linked JDY Botnet Expands to Over 1,500 Devices
  • GitHub to Restrict npm Scripts by Default to Enhance Security
  • Critical Flaw in Splunk Enterprise Enables Unauthorized Code Execution

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Copyright © 2026 Cyber Web Spider Blog – News.

Powered by PressBook Masonry Dark