Cursor 2.4.28 is unable to execute scripts under agent mode

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Somehow Cursor agent got stuck when trying to run any scripts. Every time it executes some script I can see in Agent terminal something like

bash --version
0 [main] bash (12808) C:\Program Files\Git\bin..\usr\bin\bash.exe: *** fatal error - couldn’t create signal pipe, Win32 error 5
Stack trace:
Frame Function Args
0000005FF350 00021006118E (00021029C607, 000210272B51, 00000000000C, 0000005FABE0) msys-2.0.dll+0x2118E
0000005FF350 0002100469BA (0000005FD320, 0000005FF350, FFFFFFFFFFFFFFFE, DCDD4425996E) msys-2.0.dll+0x69BA
0000005FF350 0002100469F2 (000000000000, 0000005FBA48, 00000000000C, 00021029C5DE) msys-2.0.dll+0x69F2
0000005FF350 0002100C3377 (00021031C800, 0000005FD320, 000000000000, 000000000000) msys-2.0.dll+0x83377
0000005FF350 000210048655 (00007FFE0384, 000000000000, 000000000000, 000000000000) msys-2.0.dll+0x8655
0000005FF350 00021007251C (000000000000, 000000000000, 000000000000, 000000000000) msys-2.0.dll+0x3251C
0000005FF5F0 7FFC034A9A1D (000210040000, 000000000001, 000000000000, 0000005FF538) ntdll.dll+0x19A1D
0000005FF5F0 7FFC034FD2F7 (7FFC034CDB00, 000000686B01, 7FFC00000001, 000000000001) ntdll.dll+0x6D2F7
0000005FF5F0 7FFC034FD08A (000000686B50, 0000005FF5F0, 0000006872B0, 0000000D0000) ntdll.dll+0x6D08A
0000005FF5F0 7FFC034FD110 (7FFC035B5910, 000000000000, 000000000010, 0000005FF690) ntdll.dll+0x6D110
000000000000 7FFC03563D72 (000000000000, 000000000000, 000000000001, 000000000000) ntdll.dll+0xD3D72
000000000000 7FFC03505DEB (7FFC03490000, 000000000000, 000000285000, 000000000000) ntdll.dll+0x75DEB
000000000000 7FFC03505C73 (000000000000, 000000000000, 000000000000, 000000000000) ntdll.dll+0x75C73
000000000000 7FFC03505C1E (000000000000, 000000000000, 000000000000, 000000000000) ntdll.dll+0x75C1E
End of stack trace
Loaded modules:
000100400000 bash.exe
7FFC03490000 ntdll.dll
7FFC025D0000 KERNEL32.DLL
7FFC010D0000 KERNELBASE.dll
7FFC01530000 USER32.dll
7FFC00B20000 win32u.dll
7FFC02110000 GDI32.dll
7FFC00EB0000 gdi32full.dll
7FFC00C00000 msvcp_win.dll
7FFC00FD0000 ucrtbase.dll
000210040000 msys-2.0.dll
7FFC02760000 advapi32.dll
7FFC024D0000 msvcrt.dll
7FFC02140000 sechost.dll
7FFC02900000 RPCRT4.dll
7FFC00E00000 bcrypt.dll
7FFC00300000 CRYPTBASE.DLL
7FFC01420000 bcryptPrimitives.dll

Same with powershell.

I run cursor with disabled extensions because of - WTF? 3 hours of Reconnecting Error. That error appeared yesterday 05/02/2026.

I’ve tried to execute scripts myself - everything works as expected.

$ bash --version
GNU bash, version 5.2.21(1)-release (x86_64-pc-msys)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Steps to Reproduce

Give any task to agent that invole executing scripts

Expected Behavior

scripts must be executed.

Operating System

Windows 10/11

Version Information

Version: 2.4.28 (user setup)
VSCode Version: 1.105.1
Commit: f3f5cec40024283013878b50c4f9be4002e0b580
Date: 2026-02-03T00:56:18.293Z
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.19045

For AI issues: which model did you use?

Composer 1

Does this stop you from using Cursor

Yes - Cursor is unusable

2.4.27 was ok - collegue of my just checked that.

Is there a way to revert Cursor to previous build? In case of your fast paced continious deployment that would be very useful!

Hey, thanks for the report.

Workaround: disable the sandbox:

  • Open Cursor Settings (Ctrl+Shift+J or the gear icon in the top right)
  • Agents > Auto-Run Mode > set it to “Ask Every Time” instead of “Run in Sandbox”

Or enable the Legacy Terminal Tool in the same Agent settings.

After that, commands will ask for confirmation, but they should work without sandbox restrictions.

About downgrading: you can download a stable version here: Download · Cursor. Also turn off early access in Cursor settings > Beta > Update Access > Default.

A similar bug is here: Git Bash Fails in Cursor Shell Tool on Windows Due to Sandbox Restrictions

Let me know if the workaround doesn’t help.

Ok that worked. But I hope to see the fix - so that agents would execute scripts in sandbox.

1 Like

I feel like such a junkie every time I hit the “Update” button

Sheer thrill-seeking behavior. Who knows if this will b0rk my main development setup?

But there’s always a chance that the last few major bugs will be resolved.

1 Like

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