{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-12537","id":"CVE-2026-12537","title":"Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows","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.","descriptionLong":"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.","published":"2026-06-24T13:37:21.872Z","updated":"2026-10-20T12:03:52.991398372Z","reserved":"2026-06-17T15:08:00.562Z","status":"Analyzed","rejected":false,"assigner":"GoogleCloud","metric":{"version":"4.0","score":10,"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","rating":"critical","source":"GoogleCloud"},"metrics":[{"version":"4.0","score":10,"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","rating":"critical","source":"GoogleCloud"},{"version":"4.0","score":10,"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","rating":"critical","source":"f45cbf4e-4146-4068-b7e1-655ffc2c548c"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Google Cloud Gemini CLI","Google Cloud run-gemini-cli GitHub Action"],"affectedProducts":[{"vendor":"Google Cloud","product":"Gemini CLI","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"0.39.1","versionType":"custom"}],"platforms":[]},{"vendor":"Google Cloud","product":"run-gemini-cli GitHub Action","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"0.1.22","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@google/gemini-cli","purl":"pkg:npm/%40google/gemini-cli","ranges":["<0.39.1",">=0.40.0-preview.2 <0.40.0-preview.3"],"fixed":["0.39.1","0.40.0-preview.3"],"advisory":"GHSA-wpqr-6v78-jr5g"},{"ecosystem":"GitHub Actions","name":"google-github-actions/run-gemini-cli","purl":null,"ranges":["<0.1.22"],"fixed":["0.1.22"],"advisory":"GHSA-wpqr-6v78-jr5g"}],"cwes":["CWE-20","CWE-78","CWE-200","CWE-77"],"aliases":["GHSA-wpqr-6v78-jr5g"],"references":[{"url":"https://github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5g","tags":["Vendor Advisory","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12537","tags":["advisory"]},{"url":"https://github.com/google-github-actions/run-gemini-cli","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00212,"epssPercentile":0.11577,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-12537","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12537","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-12537","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wpqr-6v78-jr5g","ok":true,"note":"GHSA-wpqr-6v78-jr5g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-12537","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}