ACVE-2026-0502
Gemini CLI 0.1.13, asked to rename a folder and relocate its files, reported a directory creation that never happened and then relocated the files into a destination that did not exist, destroying th…
Exposure
Reproducibility: partial (model availability not checked (no registry reference))
Claims
Confirmed means the statement matches the cited primary source. Nothing on this page has been reproduced.
| Claim | Status | Source | Checked |
|---|---|---|---|
| Latest affected version 0.1.13 is still installable from npm | Confirmed | registry.npmjs.org | 2026-09-22 |
In the wild
none-known · research
Description
Threat
user · unsafe-default · file-write
What
The operator asked the agent to rename a project folder and relocate all its files into a new one. The command to create the destination folder returned success but never created it. The agent then relocated the files into that nonexistent destination, so each file overwrote the previous one under a single name and the contents were lost. The agent's own post-mortem in the transcript acknowledged the sequence.
Detection
The lockfile records the Gemini CLI version; the issue reports version 0.1.13, model gemini-2.5-pro, no sandbox. Recorded from the operator's issue and attached transcript. Not recreated in a lab.
Fix
Verify that a destination exists before relocating files into it, and keep file operations behind confirmation in unsandboxed sessions.
Not matched automatically. Check by hand.
Evidence
| Benchmark | Metric | Value | Attempts | Defence | Model | Source |
|---|---|---|---|---|---|---|
| — | — | — | — | — | — | https://github.com/google-gemini/gemini-cli/issues/4586 |
Fix
Confirm file relocation in unsandboxed sessions; verify the destination exists first.
- Reconfigure
agent.approvaltoask. The relocation ran without a person checking the destination.