Gemini CLI flaw let injected prompts run commands past the allowlist
Listed: it resets no counter.
Tracebit found that Gemini CLI's command allowlist only checked the start of a shell input. A prompt injection hidden in a README could chain a malicious command after an approved one like grep and hide it with whitespace, silently running code and exfiltrating data. It was fixed in v0.1.14.
- Disclosed
- Jul 28, 2025
- Tags
- gemini-cli, prompt-injection, allowlist-bypass
What it did to the counters
-
sandbox vulnerability
It's listed, but doesn't reset the counter.