Cursor 2.4.28 is unable to execute scripts under agent mode

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.