Skip to content
MediumNewsLLM-specific

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

Published
Record updated
View JSON

Summary

Cato AI Labs disclosed two Cursor flaws, DuneSlide, tracked as CVE-2026-50548 and CVE-2026-50549, that let a prompt-injected instruction write a file outside the editor's sandbox and disable it, so later commands run unsandboxed as the developer. The first abuses the working_directory parameter of run_terminal_cmd, and the second abuses a symlink-check fallback. Every version before Cursor 3.0 is affected, and no real-world exploitation is reported.

Mitigation

Fixed in Cursor 3.0, released April 2.