{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-12537","published":"2026-06-24T14:17:29.630000Z","last_modified":"2026-07-02T19:46:27.890000Z","status":"Analyzed","cvss":{"version":"4.0","score":10.0,"severity":"CRITICAL","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Clear","source":"f45cbf4e-4146-4068-b7e1-655ffc2c548c","primary":false},"auth":false,"cwes":["CWE-20","CWE-78"],"cpes":[{"criteria":"cpe:2.3:a:google:gemini-cli:*:*:*:*:*:node.js:*:*","part":"a","vendor":"google","product":"gemini-cli","version_end_excluding":"0.39.1"},{"criteria":"cpe:2.3:a:google:gemini-cli:0.40.0:preview2:*:*:*:node.js:*:*","part":"a","vendor":"google","product":"gemini-cli","version":"0.40.0"},{"criteria":"cpe:2.3:a:google:run-gemini-cli:*:*:*:*:*:*:*:*","part":"a","vendor":"google","product":"run-gemini-cli","version_end_excluding":"0.1.22"}],"cpes_truncated":false,"vendors":["google"],"products":["google/gemini-cli","google/run-gemini-cli"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-wpqr-6v78-jr5g","ecosystem":"GitHub Actions","name":"google-github-actions/run-gemini-cli","ranges":[{"introduced":"0","fixed":"0.1.22"}],"versions":["v0.1.21","v0.1.20","v0.1.19","v0.1.18","v0.1.17","v0.1.16","v0.1.15","v0.1.14","v0.1.13","v0.1.12","v0.1.11","v0.1.10","v0.1.9","v0.1.8","v0.1.7","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1"],"versions_truncated":false},{"advisory":"GHSA-wpqr-6v78-jr5g","ecosystem":"npm","name":"@google/gemini-cli","purl":"pkg:npm/%40google/gemini-cli","ranges":[{"introduced":"0","fixed":"0.39.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-wpqr-6v78-jr5g","ecosystem":"npm","name":"@google/gemini-cli","purl":"pkg:npm/%40google/gemini-cli","ranges":[{"introduced":"0.40.0-preview.2","fixed":"0.40.0-preview.3"}],"versions":["0.40.0-preview.2"],"versions_truncated":false}],"severity":"critical","priority_score":75,"links":{"html_es":"/es/cve/CVE-2026-12537/","html_en":"/en/cve/CVE-2026-12537/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-12537","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-12537"},"untrusted":{"vendor_name":"Google","product_name":"Gemini-cli","desc_en":"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.","affected":[{"untrusted_vendor":"Google Cloud","untrusted_product":"Gemini CLI","versions":[]},{"untrusted_vendor":"Google Cloud","untrusted_product":"run-gemini-cli GitHub Action","versions":[]}],"references":[{"url":"https://github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5g","tags":["Vendor Advisory","Patch"]}]}}