Why cursor? why

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

As a result of a safe prompt that did not foreshadow trouble Cursor deleted ABSOLUTELY EVERYTHING from my SSD drive where the project he was working on was stored. What should I do? I’m panicking and frustrated. Thousands files of data and documents and projects are lost. It’s good that at least the browser was on another drive and I can write this.

Steps to Reproduce

git clone

Expected Behavior

???

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 2.4.35 (user setup)
VSCode Version: 1.105.1
Commit: d2bf8ec12017b1049f304ad3a5c8867b117ed830
Date: 2026-02-10T02:46:56.793Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, this is a really serious situation.

Here’s what most likely happened: you were on version 2.4.35 (Feb 10), and that release had a critical encoding bug in terminal scripts. The Russian Windows locale uses code page 1251 (not UTF-8), and that’s one of the triggers for this bug. When running commands through PowerShell, paths could get mangled, and a delete could hit the whole drive instead of a specific folder. This was fixed in later versions.

Also, the File-Deletion Protection and External-File Protection settings only protect against deletions done through Cursor’s built-in tools (the editor and file manager). Terminal commands like rmdir /s /q or Remove-Item -Recurse -Force run directly in the shell and bypass those protections. The team is aware, and we’ve seen a few similar reports:

What to do right now:

  1. File recovery: run Recuva or R-Studio as soon as possible. Most important, don’t write anything new to that SSD, so you don’t overwrite deleted data. The sooner you start, the better your chances.
  2. Update Cursor to the latest version. This should close the encoding bug.
  3. Cursor Settings > Agents > turn off “Auto-run mode”. The agent will ask for confirmation before each terminal command, and you can reject destructive commands before they run.

A few questions for incident tracking:

  1. Was Auto-run mode enabled?
  2. Can you share the Request ID from that chat? (Top right of the chat → Copy Request ID)

Let me know if you need help with anything else.

Auto-run mode was enabled. Even if I left confirmation from user who would watch a thousand times during development what the agent does with the files? No one expects that at any moment all your files on the disk will disappear!

2f3081fd-1239-4c70-83a5-040795667176

Request ID

I restored all the files. Or rather their names and folders structure. They are all now unusable.

Thank you for such high-quality software that can delete all your data in a second bypassing the recycle bin and any temporary folders.

After all you can always refer to the check mark in the settings that the user set.

If only I had known that the same topics have been appearing on this forum since 2025 and that this is not an isolated case but a regular occurrence…

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