CVE-2026-12537 Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows
CriticalCVSS 10.0
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
7 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | < 0.1.22; = v0.1.1; = v0.1.2; = v0.1.3 +18 more | 0.1.22 | Fixed |
| Google @google/gemini-cli | < 0.39.1; = 0.40.0-preview2 | 0.39.1 | Fixed |
| Google @google/gemini-cli(npm) | < 0.39.1; = 0.40.0-preview.2; >= 0.40.0-preview.2, < 0.40.0-preview.3 | 0.39.1, 0.40.0-preview.3 | Fixed |
| Google Cloud Gemini CLI | < 0.39.1 | 0.39.1 | Fixed |
| Google Cloud run-gemini-cli GitHub Action | < 0.1.22 | 0.1.22 | Fixed |
| Google run-gemini-cli | < 0.1.22 | 0.1.22 | Fixed |
| google-github-actions/run-gemini-cli(GitHub Actions) | < 0.1.22 | 0.1.22 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Google Cloud Gemini CLI | < 0.39.1 | 0.39.1 |
| Google Cloud run-gemini-cli GitHub Action | < 0.1.22 | 0.1.22 |
| Google @google/gemini-cli(npm) | < 0.39.1 | 0.39.1 |
| Google @google/gemini-cli(npm) | = 0.40.0-preview.2 | No fix listed |
| google-github-actions/run-gemini-cli(GitHub Actions) | < 0.1.22 | 0.1.22 |
| Google @google/gemini-cli | < 0.39.1 | 0.39.1 |
| Google @google/gemini-cli | = 0.40.0-preview2 | No fix listed |
| Google run-gemini-cli | < 0.1.22 | 0.1.22 |
| Google @google/gemini-cli(npm) | >= 0.40.0-preview.2, < 0.40.0-preview.3 | 0.40.0-preview.3 |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | < 0.1.22 | 0.1.22 |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.21 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.20 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.19 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.18 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.17 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.16 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.15 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.14 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.13 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.12 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.11 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.10 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.9 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.8 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.7 | No fix listed |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.6 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.5 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.4 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.3 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.2 | No fix listed |
| github actions google-github-actions/run-gemini-cli(GitHub Actions) | = v0.1.1 | No fix listed |
References
- github.com patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product