{"id":"CVE-2026-12537","published":"2026-06-24T13:37:21Z","modified":"2026-06-24T13:53:24Z","title":"Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows","vendor":"Google Cloud","product":"Gemini CLI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/U:Clear","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00212,"percentile":0.06545,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5g","tags":[]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":1.31},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"google-cloud","affectedVersions":[{"vendor":"Google Cloud","product":"Gemini CLI","versions":["< 0.39.1"]},{"vendor":"Google Cloud","product":"run-gemini-cli GitHub Action","versions":["< 0.1.22"]}],"solutions":{"items":["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 ."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-06-24T13:52:11.782979Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@google/gemini-cli","vulnerableRanges":["<0.39.1",">=0.40.0-preview.2, <0.40.0-preview.3"],"patched":["0.39.1","0.40.0-preview.3"],"from":["GHSA-wpqr-6v78-jr5g"],"provenance":"source"},{"ecosystem":"GitHub Actions","package":"google-github-actions/run-gemini-cli","vulnerableRanges":["<0.1.22"],"patched":["0.1.22"],"from":["GHSA-wpqr-6v78-jr5g"],"provenance":"source"}],"summary":{"text":"The flaw is an OS command injection (improper neutralization of input used in an OS command) in the container launcher of Google's Gemini CLI, affecting versions before 0.39.1, and in the run-gemini-cli GitHub Action, affecting versions before 0.1.22, when running on headless CI platforms. An unprivileged attacker can supply a maliciously crafted .gemini/.env file to achieve host-level code execution before the sandbox is applied, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:59Z"},"euvd":{"id":"EUVD-2026-38790","exploited":false,"provenance":"source"}}