DuneSlide Flaws in Cursor IDE Enable Zero-Click Sandbox Escape and RCE
Emerging Technology Risk · 4 sources · Updated 5mo ago · First seen Jul 1, 2026

Cato AI Labs disclosed two critical vulnerabilities in the Cursor AI code editor, dubbed DuneSlide, that can let attackers escape the product’s terminal sandbox and achieve arbitrary code execution through zero-click prompt injection. The flaws, tracked as CVE-2026-50548 and CVE-2026-50549 and rated CVSS 9.8, affect Cursor versions before 3.0. Researchers said malicious instructions hidden in attacker-controlled content—such as poisoned web search results or responses from MCP-connected services—could be ingested by Cursor and trigger exploitation without deliberate user interaction.
The first vulnerability abuses the LLM-controlled working_directory parameter in the run_terminal_cmd tool to write outside the project root, while the second exploits a symlink canonicalization failure that can bypass path validation when destination resolution fails. Researchers showed the bugs could be used to overwrite the cursorsandbox helper and other sensitive files, causing later commands to run with the user’s privileges and potentially exposing the local machine as well as connected cloud and SaaS workspaces. Cursor said the issues were patched in version 3.0, released on April 2, and reports said there is currently no evidence of active exploitation.
Why it matters
Impact assessment
Two critical flaws in Cursor IDE before version 3.0 allow zero-click prompt-injection-driven sandbox escape and OS-level remote code execution. The primary affected population is developers and enterprises using Cursor, including large organizations where the product is reportedly widely deployed; compromise can extend beyond the local workstation to cloud and SaaS workspaces authenticated through the editor.
The impact is severe because exploitation can overwrite the cursorsandbox helper and other sensitive files, causing subsequent commands to execute with the developer’s user privileges outside the intended sandbox. Exposure is potentially broad across Cursor versions prior to 3.0, but current reporting states there is no evidence of active exploitation in the wild.
Supporting facts
- Affected product: Cursor AI code editor / Cursor IDE.
- Affected versions: all versions before 3.0; Cursor 2.x behavior is specifically described as automatically running agent terminal commands inside a sandbox.
- Severity: both flaws are rated CVSS 9.8; one source also cites 9.3 under CVSS 4.0.
- Business impact:
- Local developer workstation compromise.
- Unsandboxed command execution with the user’s privileges.
- Potential exposure of connected cloud and SaaS workspaces.
- Persistence opportunities via files such as ~/.zshrc and ~/Library/LaunchAgents.
- Scope:
- Broad exposure for organizations using vulnerable Cursor versions.
- Trigger can come from common workflows involving MCP-connected services or web search ingestion.
- Exploitation status: no evidence of active exploitation reported.
- Reporting timeline:
- Reported by Cato AI Labs/Cato Networks in February 2026.
- Fixed in Cursor 3.0 released April 2, 2026.
- CVEs assigned in early June 2026.


