# Cursor deleted files across my entire system – critical issue

**URL:** <https://forum.cursor.com/t/cursor-deleted-files-across-my-entire-system-critical-issue/158406>\
**Category:** Bug Reports\
**Tags:** terminal, auto-run, sandbox\
**Created:** [April 18, 2026, 10:41pm UTC](https://forum.cursor.com/t/cursor-deleted-files-across-my-entire-system-critical-issue/158406 "2026-04-18T22:41:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronieule\_Feitosa\_Fre](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ronieule_feitosa_fre/32/105938_2.png) [@Ronieule\_Feitosa\_Fre](https://forum.cursor.com/u/Ronieule_Feitosa_Fre)\
**Post date:** [April 18, 2026, 10:41pm UTC](https://forum.cursor.com/t/cursor-deleted-files-across-my-entire-system-critical-issue/158406/1 "2026-04-18T22:41:38Z")

</div>

Hello,

I ran into a very serious problem while using Cursor. What was supposed to be a simple cleanup ended up deleting files across almost my entire system.

I only asked it to remove obsolete files that weren’t related to my current project, keeping the project safe. Instead, it went far beyond that.

It deleted programs that weren’t open, personal documents, videos, projects from other software like After Effects and Corel, PDF files, and many other system files.

My computer was left almost like a fresh Windows install.

This didn’t stay inside the project folder. It affected multiple locations on my machine, and I never gave permission for something like this.

There are some serious concerns here, like the lack of clear boundaries when accessing the file system, unsafe automated actions, and no confirmation before deleting files.

Details:  
OS: Windows 10  
Cursor version: 3.1.x  
Action: clean obsolete files related to the project

Expected behavior:  
The editor should never perform destructive actions outside the project folder or on its own.

Impact:  
I lost a large amount of important files and my workflow was completely disrupted. I tried to recover the files, but even the recovered ones were corrupted and unusable, so I gave up.

This included years of work and professional files related to my job.

Even with this experience, I like Cursor and hope this report helps prevent this from happening to others.

Contact:  
[asotiefdesigns@gmail.com](mailto:asotiefdesigns@gmail.com)

Suggestions:  
A strict sandbox should be implemented so it never leaves the project folder. Operations should be restricted to the project directory. There should also be a reliable undo or recovery system, and a clear action log linked to the user account so it’s possible to understand exactly what happened.

I hope this can be improved.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 18, 2026, 10:41pm UTC](https://forum.cursor.com/t/cursor-deleted-files-across-my-entire-system-critical-issue/158406/2 "2026-04-18T22:41:46Z")

</div>

Hi there!

We detected that this may be a bug report, so we’ve moved your post to the **Bug Reports** category.

To help us investigate and fix this faster, could you edit your original post to include the details from the template below?

> **Bug Report Template - Click to expand**
>
> **Where does the bug appear (feature/product)?**
> 
> - Cursor IDE
> - Cursor CLI
> - Background Agent (GitHub, Slack, Web, Linear)
> - BugBot
> - Somewhere else…
> 
> * * *
> 
> **Describe the Bug**  
> A clear and concise description of what the bug is.
> 
> * * *
> 
> **Steps to Reproduce**  
> How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!
> 
> 1. …
> 2. …
> 3. …
> 
> * * *
> 
> **Expected Behavior**  
> What is meant to happen here that isn’t working correctly?
> 
> * * *
> 
> **Screenshots / Screen Recordings**  
> If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)
> 
> * * *
> 
> **Operating System**
> 
> - Windows 10/11
> - MacOS
> - Linux
> 
> * * *
> 
> **Version Information**
> 
> - For Cursor IDE: Menu → About Cursor → Copy
> - For Cursor CLI: Run `agent about` in your terminal
> 
> ```auto
> IDE:
> Version: 2.xx.x
> VSCode Version: 1.105.1
> Commit: ......
> 
> CLI:
> CLI Version 2026.01.17-d239e66
> 
> ```
> 
> * * *
> 
> **For AI issues: which model did you use?**  
> Model name (e.g., Sonnet 4, Tab…)
> 
> * * *
> 
> **For AI issues: add Request ID with privacy disabled**  
> Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1  
> For Background Agent issues, also post the ID: bc-…
> 
> * * *
> 
> **Additional Information**  
> Add any other context about the problem here.
> 
> * * *
> 
> **Does this stop you from using Cursor?**
> 
> - Yes - Cursor is unusable
> - Sometimes - I can sometimes use Cursor
> - No - Cursor works, but with this issue

The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!

---

<div class="post-metadata">

**Author:** ![lt1999322](https://avatars.discourse-cdn.com/v4/letter/l/3da27b/32.png) [@lt1999322](https://forum.cursor.com/u/lt1999322)\
**Post date:** [April 21, 2026, 5:35pm UTC](https://forum.cursor.com/t/cursor-deleted-files-across-my-entire-system-critical-issue/158406/5 "2026-04-21T17:35:26Z")

</div>

me 2. I lost my whole data in D: (around 300G) including recent works.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [May 13, 2026, 5:35pm UTC](https://forum.cursor.com/t/cursor-deleted-files-across-my-entire-system-critical-issue/158406/6 "2026-05-13T17:35:27Z")

</div>

Closed on May 13, 2026, 5:35pm UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
