Gemini CLI Fixes Critical Privilege Escalation Vulnerability

jesussamuel-byte · ghdev · 2026-08-29

The Google Gemini CLI project patched a critical security vulnerability enabling local privilege escalation via insecure system-wide configuration loading on Windows and POSIX systems. The fix implements ACL verification on Windows (blocking write access for unprivileged users) and ownership/permission checks on POSIX (enforcing root:root ownership and restrictive permissions). The CLI now validates security before loading configuration files, skipping insecure paths with warnings. In-memory caching for security checks was also added to improve startup performance.

Original post →

More from Safety

Safety channel →