Cursor editor flaws let prompt injection escape the sandbox and run commands
Researchers have found sandbox-bypass flaws in the Cursor AI code editor, dubbed DuneSlide, that can let prompt injection reach the operating-system level. According to SecurityWeek a zero-click attack is possible; the reports appeared between 1 and 3 July 2026.
Who is affected and how
- security leader
- AI tools should be treated as an attack surface on developer endpoints.
- security operations
- Check that Cursor is updated and that developer machines have additional protection.
- developer
- Untrusted content processed by an AI code editor can lead to code execution on the developer's machine.
- journalist and researcher
- Here prompt injection is a demonstrated RCE vector, which is a main direction of research.
Sources
- Critical Cursor Flaws Could Let Prompt Injection Escape Sandbox and Run Commandsthehackernews.com · Jul 1, 2026
- Sandbox bypass flaws in Cursor IDE highlight prompt injection as an RCE vector - csoonline.comcsoonline.com · Jul 1, 2026
- Critical Cursor Flaws Could Let Prompt Injection Escape Sandbox and Run Commands – Securitydonesecuritydone.com · Jul 1, 2026
- Cursor DuneSlide prompt injection can run commands on a dev machine | TECH & SPACEtechand.space · Jul 1, 2026
- Cursor IDE Vulnerabilities Enable Sandbox Escapelatesthackingnews.com · Jul 2, 2026
- Cursor IDE Critical RCE Flaws Let Attackers Overwrite System Files via Prompt Injectioncyberpress.org · Jul 2, 2026
- DuneSlide: prompt injection to RCE in Cursor editorshard2bit.com · Jul 2, 2026
- Cursor IDE DuneSlide flaws let prompt injection escape the sandbox with no user click | Ponderopondero.ai · Jul 3, 2026
- Cursor AI Flaws Let Prompt Injection Escape Sandbox for RCE | ProbablyPwnedprobablypwned.com · Jul 3, 2026
- DuneSlide flaws let a prompt injection run code on developers' machines through Cursor — Data Phoenixdataphoenix.info · Jul 3, 2026
- Critical Cursor AI Editor Flaws Allow Prompt Injection to Escape Sandbox – SECBORNsecborn.com · Jul 3, 2026
Machine-generated summary based on the titles and excerpts of the source articles. The facts come from the linked article. News monitoring and analysis, not security advice. Attributions belong to those who made them.
What do you make of this piece?
The split shows after 20 votes.
Why? Your answer is not shown publicly; it helps the editors.