The Threshold Report
September 18, 2026 · story 13 of 18
AgentsSecuritySept. 18

Anysphere closes Cursor CLI sandbox escape through Git hooks

Image: accomplish.ai

Researchers behind Beltdown2 found that a malicious workspace could set a core.fsmonitor hook in .git/config and make Cursor CLI run a Git command outside its macOS Seatbelt sandbox after a read-only prompt. An untrusted repository could then write outside that sandbox into a developer's home directory. Anysphere acknowledged the issue and released Cursor CLI 2026.08.04-aaa8809, which disables core.fsmonitor, custom hooks and repository attributes for Git processes the assistant starts.

PositiveResearchers disclosed the Cursor sandbox escape and Anysphere shipped a mitigation that blocks the Git settings used to trigger it.

Earlier on this thread

Every agents story →