Gemini CLIPreview

Gemini CLI nightly hardens shell-wrapper policy checks and MCP OAuth origin validation

Gemini CLI’s November 30 nightly prerelease fixes security and cross-platform bugs: inspecting shell wrapper variants for command substitution and policy checks, enforcing origin consistency in MCP OAuth flows, normalizing hook command names with leading env vars, showing full extension contents in consent prompts, and quoting IDE CLI paths for Windows `cmd.exe`.

  • Security fixes: inspects shell wrapper variants for command substitution and policy checks, and enforces and displays endpoint origin consistency during MCP OAuth.
  • Extension install/update consent covers all extension contents, and hook command names with leading environment variable assignments are normalized.
  • Quotes IDE CLI command paths properly on Windows `cmd.exe`.
CompatibilityCritical fix

Original evidence · 2026-11-30 11h

Gemini CLI Releases ↗Based on original text

Why it matters

Addresses shell-policy bypasses, MCP OAuth origin enforcement, and extension consent completeness in nightly builds.