# CVE-2026-12537: Unauthenticated Remote Code Execution in Gemini CLI CI/CD Workflows

- Severity: Critical 10.0 (CVSS:4.0, scored by GoogleCloud) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.21%, higher than 88% of CVEs (2026-12-01)
- Published: 2026-04-24T19:30:01.000Z
- Modified: 2026-09-25T03:55:55.786Z
- Also known as: GHSA-wpqr-6v78-jr5g
- Weaknesses: CWE-20, CWE-77, CWE-78, CWE-200
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GoogleCloud

## 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.

(As written by CVE List.)

## Affected

- Google Cloud Gemini CLI: before 0.39.1
- Google Cloud run-gemini-cli GitHub Action: before 0.1.22
- @google/gemini-cli (npm): before 0.39.1; from 0.40.0-preview.2 before 0.40.0-preview.3
- google-github-actions/run-gemini-cli (GitHub Actions): before 0.1.22; before f77273f4c914e4bf38440cf36a0369cb64a37489
- google gemini-cli: before 0.39.1; 0.40.0
- google run-gemini-cli: before 0.1.22

## Every score

- GoogleCloud: CVSS:4.0 10.0 Critical `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`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/google-github-actions/run-gemini-cli/security/advisories/GHSA-wpqr-6v78-jr5g> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12537> (advisory)
- <https://github.com/google-github-actions/run-gemini-cli> (package)

## Sources

- CVE List: [CVE-2026-12537](https://www.cve.org/CVERecord?id=CVE-2026-12537), CVE Terms of Use, modified 2026-06-24
- GitHub Advisory Database: [GHSA-wpqr-6v78-jr5g](https://github.com/advisories/GHSA-wpqr-6v78-jr5g), CC-BY-4.0, modified 2026-09-25
- NVD: [CVE-2026-12537](https://nvd.nist.gov/vuln/detail/CVE-2026-12537), Public domain, modified 2026-07-02

---

Page: https://cve.day/CVE-2026-12537 · Whole record: https://cve.day/CVE-2026-12537.json · Rebuilt by cve.day 2026-11-25T22:59:25.604Z
