Skip to content
MediumNewsLLM-specific

Sandbox bypass flaws in Cursor IDE highlight prompt injection as an RCE vector

Published
Record updated
View JSON

Summary

Cato Networks researchers found two flaws, CVE-2026-50548 and CVE-2026-50549, in the Cursor AI IDE that let prompt injection break out of its command execution sandbox and reach remote code execution. The exploit needs no prior user privileges or specific user interaction. It is triggered when a victim's innocuous prompt ingests an attacker-controlled payload from an untrusted source, such as an MCP server or a web search result.

Mitigation

Fixed in version 3.0 of the Cursor IDE, released in April.