CVE-2026-12537

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

Configuration 1 (hide)

OR cpe:2.3:a:google:gemini-cli:*:*:*:*:*:node.js:*:*
cpe:2.3:a:google:gemini-cli:0.40.0:preview2:*:*:*:node.js:*:*
cpe:2.3:a:google:run-gemini-cli:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-06-24 14:17

Updated : 2026-07-02 19:46


NVD link : CVE-2026-12537

Mitre link : CVE-2026-12537

CVE.ORG link : CVE-2026-12537


JSON object : View

Products Affected

google

  • run-gemini-cli
  • gemini-cli
CWE
CWE-20

Improper Input Validation

CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')