{
 "public_id": "AIR-2026-0149",
 "incident_id": "2026-04-cursor-duneslide",
 "date_disclosed": "2026-07-01",
 "date_occurred": null,
 "title": "DuneSlide: zero-click prompt injection escapes the Cursor sandbox for OS-level code execution",
 "class": "responsible_disclosure",
 "attack_surface": "coding_agent",
 "initial_vector": "indirect_prompt_injection_mcp_or_web_search_result",
 "agent_capability_abused": [
  "shell_execution",
  "working_directory_parameter",
  "symlink_following",
  "file_write"
 ],
 "target_product": "Cursor IDE",
 "target_vendor": "Anysphere",
 "autonomy_level": "semi_autonomous",
 "impact_realized": false,
 "impact_type": [
  "remote_code_execution",
  "sandbox_escape",
  "persistence"
 ],
 "blast_radius": "every Cursor version before 3.0",
 "cve": [
  "CVE-2026-50548",
  "CVE-2026-50549"
 ],
 "taxonomy": {
  "owasp_asi": [
   "ASI01",
   "ASI05"
  ],
  "mitre_atlas": [
   "AML.T0051.001"
  ],
  "labels": [
   "zero_click",
   "sandbox_escape",
   "symlink_check_fallback",
   "shell_rc_overwrite",
   "cvss_9_8"
  ]
 },
 "defense_present": "Cursor's command sandbox plus a symlink resolution check for writes outside the project",
 "defense_bypassed": true,
 "fix_shipped": "Cursor 3.0, released 2026-04-02; symlink fix completed by 2026-06-01 (reported 2026-02-19, initially rejected 2026-02-23, escalated 2026-02-26)",
 "primary_sources": [
  "https://thehackernews.com/2026/07/critical-cursor-flaws-could-let-prompt.html",
  "https://www.securityweek.com/critical-cursor-ai-ide-flaws-could-lead-to-os-level-remote-code-execution/"
 ],
 "verified_quote": "Cato AI Labs found the pair and named them DuneSlide. They are tracked as CVE-2026-50548 and CVE-2026-50549, both rated 9.8 out of 10.",
 "confidence": "high",
 "notes": "CVE-2026-50548: the sandbox permits writes into a command's working folder, and working_directory is an attacker-steerable parameter on Cursor's run_terminal_cmd tool - pointing it at the cursorsandbox binary or ~/.zshrc. CVE-2026-50549: when the symlink check fails (target missing, or read access removed from a path component) Cursor falls back to trusting the shortcut's in-project path and writes straight through it. No click or approval required; the trigger is an ordinary user request that ingests attacker-controlled content from an MCP server or poisoned web-search result. Cursor's advisory for the symlink bug credits both Cato AI Labs and Wiz (see GhostApproval). No in-the-wild exploitation reported.",
 "risk_category": "security_fraud",
 "risk_secondary": [],
 "risk_subcategory": "Prompt Injection",
 "risk_sub_secondary": [
  "Remote Code Execution & Sandbox Escape",
  "Persistence & Covert C2"
 ],
 "ai_entity": "generative",
 "agency": "agent_acted",
 "agency_debatable": false,
 "agency_reason": "the agent wrote outside its sandbox and executed at OS level",
 "vector_family": "indirect_prompt_injection",
 "vector_detail": "indirect_prompt_injection_mcp_or_web_search_result",
 "guardrail_kind": [
  "sandbox_isolation"
 ],
 "guardrail_outcome": "silent",
 "xrefs": {
  "aiid": [],
  "atlas": [
   "AML.T0051.001"
  ],
  "cve": [
   "CVE-2026-50548",
   "CVE-2026-50549"
  ],
  "ghsa": []
 },
 "primary_asi": "ASI01",
 "agent_framework": "cursor",
 "model_provider": "unknown",
 "model_name": "",
 "detection_mechanism": "unknown",
 "tool_access": "unknown",
 "financial_loss_band": "unknown",
 "eai_category": "privilege_escalation",
 "eai_domain": "access_control_and_permissions",
 "eai_secondary": [
  "confused_deputy"
 ],
 "eai_reason": "impact rule: privilege_escalation",
 "asi_curated": [
  "ASI01"
 ],
 "asi_scope": "in_scope",
 "asi_provenance": "curated_plus_rule",
 "asi_reason": "curated: ASI01 | added ASI05 (impact=code_exec)",
 "submitted_by": "EAI Internal"
}