Sandbox Escape in Cursor Code Editor by Cursor
CVE-2026-50549

9.3CRITICAL

Key Information:

Vendor

Cursor

Status
Vendor
CVE Published:
25 June 2026

What is CVE-2026-50549?

The Cursor Code Editor, a tool designed for programming with AI, has a vulnerability that allows a malicious agent to bypass its sandbox environment. Prior to version 3.0, the editor runs terminal commands in a sandbox but uses a flawed canonicalization process when verifying file paths. If canonicalization fails—potentially due to user manipulation—a malicious agent can create a symbolic link that points outside the designated workspace. This allows unauthorized file writes under the user’s privileges, enabling non-sandboxed remote code execution through the modification of critical components, such as the cursorsandbox helper. Users are encouraged to upgrade to version 3.0 or later to mitigate this risk.

Affected Version(s)

cursor < 3.0

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.