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

Researchers disclosed two critical vulnerabilities in the Cursor AI code editor, collectively named DuneSlide and tracked as CVE-2026-50548 and CVE-2026-50549, that allow zero-click prompt-injection attacks to escape the IDE sandbox and achieve remote code execution on the underlying operating system. Both flaws carry a CVSS 9.8 rating and affect Cursor versions prior to 3.0, with exploitation enabling arbitrary file writes on a victim’s local system and potential compromise of linked SaaS workspaces.
The attack chain abuses Cursor’s agent terminal command handling through working-directory manipulation and a symlink-based path resolution bypass, allowing attackers to overwrite the cursorsandbox helper and run arbitrary commands with the user’s privileges outside the sandbox. The issues were responsibly disclosed in February 2026 and fixed in Cursor 3.0, released on April 2, 2026; while no active exploitation had been confirmed at publication, reporting warned the technique is highly automatable and organizations were urged to upgrade immediately and review any untrusted prompts or files processed before patching.
Why it matters
Impact assessment
DuneSlide affects organizations and developers using Cursor IDE versions prior to 3.0, including large enterprise environments where the product is reportedly widely deployed. The impact is severe: zero-click prompt-injection chains can escape Cursor’s sandbox, overwrite local files, and achieve remote code execution with the user’s privileges, creating risk of host compromise, credential exposure, persistence, and downstream compromise of linked SaaS workspaces.
Exposure is potentially broad wherever Cursor AI agent features process untrusted content such as malicious repositories, files, MCP server responses, or poisoned web search results. No confirmed in-the-wild exploitation was reported at publication, but the attack path is highly automatable and requires no authentication or additional user interaction beyond processing benign-looking attacker-controlled input.
Supporting facts
- Affected product: Cursor AI code editor / Cursor IDE.
- Affected versions: all versions prior to 3.0.
- Fixed version: Cursor 3.0, released April 2, 2026.
- Severity: CVE-2026-50548 and CVE-2026-50549 are rated Critical with CVSS 3.1 score 9.8; one source also reports CVSS 4.0 score 9.3.
- Business impact: arbitrary file write, sandbox escape, unsandboxed code execution, persistence opportunities, access to source code, credentials, API keys, cloud credentials, and environment variables.
- Secondary impact: compromise may extend to connected SaaS workspaces.
- Reported prevalence: one source states Cursor is used by more than half of Fortune 500 companies.
- Exploitation status: no active exploitation confirmed in the cited reporting.
- Prior context: reporting states this is the third Cursor sandbox escape issue disclosed in 2026, following CVE-2026-26268.


