WS-2026-0007
Published:May 16, 2026
Updated:May 16, 2026
Gemini CLI (@google/gemini-cli) and the run-gemini-cli GitHub Action are being updated to harden workspace trust and tool allowlisting, in particular when used in untrusted environments like GitHub Actions. This update introduces a breaking change to how non-interactive (headless) environments handle folder trust, which may impact existing CI/CD workflows under specific conditions.
Affected Packages
https://github.com/google-gemini/gemini-cli.git (GITHUB):
Affected version(s) >=v0.40.0-nightly.20260415.g06e7621b2 <v0.40.0Fix Suggestion:
Update to version v0.40.0https://github.com/google-gemini/gemini-cli.git (GITHUB):
Affected version(s) >=v0.0.3-preview.4 <v0.39.1Fix Suggestion:
Update to version v0.39.1@google/gemini-cli (NPM):
Affected version(s) >=0.40.0-nightly.20260415.g06e7621b2 <0.40.0Fix Suggestion:
Update to version 0.40.0@google/gemini-cli-core (NPM):
Affected version(s) >=0.40.0-nightly.20260415.g06e7621b2 <0.40.0Fix Suggestion:
Update to version 0.40.0@google/gemini-cli (NPM):
Affected version(s) >=0.1.0 <0.39.1Fix Suggestion:
Update to version 0.39.1@google/gemini-cli-core (NPM):
Affected version(s) >=0.1.2 <0.39.1Fix Suggestion:
Update to version 0.39.1Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
10
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
10
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH