Skip to main content
Mallory
← Back to News
ai-platform-securityendpoint-software-vulnerabilitywidely-deployed-product-advisorypayload-delivery-evasion

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

DuneSlide Flaws in Cursor IDE Enable Zero-Click Sandbox Escape and RCE

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.
New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Apr 2, 2026 – Jul 3, 2026
  1. Jul 3, 20265mo ago

    Cato reports DuneSlide vulnerabilities to Cursor

    Cato Networks reported the two DuneSlide vulnerabilities, CVE-2026-50548 and CVE-2026-50549, to Cursor in February 2026. This vendor notification preceded the April 2 release of Cursor 3.0 containing fixes.

    Critical Cursor AI Code Editor Flaws Could Lead to OS-Level Remote Code Execution - SecurityWeek
  2. Jul 1, 20265mo ago

    Cato AI Labs discloses critical DuneSlide Cursor IDE flaws

    Cato AI Labs disclosed two critical remote code execution vulnerabilities in Cursor IDE, dubbed DuneSlide, that allow prompt injection to escape the sandbox and achieve arbitrary command execution. The flaws are tracked as CVE-2026-50548 and CVE-2026-50549, and the reporting notes no evidence of active exploitation.

    Critical Cursor IDE RCE Vulnerabilities Enable Prompt Injection in Zero-Click - Cyber Security News
  3. Apr 2, 20268mo ago

    Cursor 3.0 released with fixes for DuneSlide vulnerabilities

    The two critical Cursor IDE vulnerabilities, CVE-2026-50548 and CVE-2026-50549, were patched in Cursor version 3.0. The source states Cursor 3.0 was released on April 2 and that versions before 3.0 are affected.

    Critical Cursor Flaws Could Let Prompt Injection Escape Sandbox and Run Commands
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.