Prompt injection escapes Cursor terminal sandbox by overwriting helper (DuneSlide)
The agent could be directed to disable the sandbox that was meant to contain its own commands.
- What happened
- Responsibly disclosed vulnerabilities CVE-2026-50548 and CVE-2026-50549 (CVSS 9.8) demonstrated by researchers; no reported in-the-wild exploitation. Cato AI Labs showed that instructions in external content read by Cursor's agent, such as MCP server output or web search results, could make it run commands whose working_directory parameter, or a symlink whose resolution check failed, pointed outside the project. This allowed the agent to overwrite Cursor's sandbox helper binary, disabling the sandbox for later commands and giving code execution on the developer's machine without user interaction.
- Response
- Cursor initially rejected the reports on 23 February, stating its threat model did not account for MCP server misuse; after escalation it reopened them on 26 February, shipped fixes in Cursor 3.0 on 2 April 2026 (symlink fix confirmed 1 June), and CVEs were assigned on 5 June 2026.
- Discovered by
- Cato AI Labs (Cato Networks); reported 19 February 2026.
- Who was affected
- Cursor users before version 3.0
- Patterns
- Sources
- DuneSlide: Two Critical RCE vulnerabilities via Zero-Click Prompt Injection in Cursor IDECato Networks, 1 Jul 2026
- Critical Cursor Flaws Could Let Prompt Injection Escape Sandbox and Run CommandsThe Hacker News, 1 Jul 2026
Related
Incidents with the same pattern
What does this ask of people?
Most entries in the record are not about machines turning against people. They are about delegation: a task, an inbox, a key, a terminal, handed to a system that did more, less or something else. Futures literacy starts with noticing that.