Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Google Cloud | Gemini CLI | unaffected |
|
||||||
| Google Cloud | run-gemini-cli GitHub Action | unaffected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Google Cloud | Gemini Cli |
|
||||||||
| Google Cloud | Run-gemini-cli Github Action |
|
Vendor Solution
Ensure you are using the latest version of gemini cli and follow the best practices guide https://github.com/google-github-actions/run-gemini-cli/blob/main/docs/trust-guidance.md .
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-wpqr-6v78-jr5g | Gemini CLI: Remote Code Execution via workspace trust and tool allowlisting bypasses |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.212% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Google Cloud
Google Cloud gemini Cli Google Cloud run-gemini-cli Github Action |
|
| Vendors & Products |
Google Cloud
Google Cloud gemini Cli Google Cloud run-gemini-cli Github Action |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Improper Neutralization used in an OS Command in the container launcher in Google Gemini CLI (versions prior to 0.39.1) and run-gemini-cli GitHub Action (versions prior to 0.1.22) on headless CI platforms allows an unprivileged attacker to achieve pre-sandbox host-level code execution a maliciously crafted .gemini/.env file. | |
| Title | Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows | |
| Weaknesses | CWE-20 | |
| References |
| |
| Metrics |
cvssV4_0
|