All incidents / AIA-006

Gemini CLI command execution via deceptive context file, per Tracebit

ID
AIA-006
Category
AI AI agent incident
Disclosed
2025-07
Systems
Gemini CLI
Harm type
Prompt injection / code exec
Status
fixed
Tracebit reports the issue was fixed in Gemini CLI v0.1.14, released July 25, 2025.

Summary

Tracebit showed that Google's Gemini CLI could be led by a crafted README/context file to run hidden malicious commands under an allow-listed command. Tracebit reported it to Google on June 27, 2025; it was fixed in v0.1.14 (July 25) and disclosed July 28.

Controls

Controls that could prevent, detect, or support recovery from this kind of failure. Mappings are editorial judgments made by the method, not findings about what any party should have done.

NIST AI RMF

NIST SP 800-53

Human-approval (JCR) checkpoint

yes: shell command approval

Sources

Corrections

To report an error in this entry, see corrections.