Read the docs
TI-2026-37271 Aliases CVE-2026-50549

Cursor Desktop sandbox escape via symlink and failed path canonicalization

Priority MEDIUM 50CWE-59Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Cursor is a code editor built for programming with AI. Prior to 3.0, Cursor runs agent terminal commands in a sandbox by default. Before a Write, the agent canonicalizes the target path to confirm it stays inside the workspace, but when canonicalization fails it falls back to the original path and writes without approval. A malicious agent can create an in-workspace symlink that points outside the workspace and force canonicalization to fail — either because the target does not exist or because read permission is removed from the path — so the agent writes through the symlink to an arbitrary location without approval. A malicious agent could write arbitrary files outside the workspace under the user's privileges. This enables non-sandboxed Remote Code Execution — for example by overwriting the cursorsandbox helper so later commands run unsandboxed — with no user interaction beyond a benign prompt. This vulnerability is fixed in 3.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01011 63rd percentileScored 2026-11-07
Fix Fixed cursor (cursor): 3.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cursorcursorbefore 3.03.0Patch availableCNA
  • cursor Vendorcursor Affected before 3.0 Fixed in 3.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*before 3.0Vulnerablecursor
  • cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:* Versions before 3.0 Vulnerable ·cursor

Remediation

  • Fix · CNA cursor (cursor) Fixed in 3.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-50549

References

  • TI-2026-45043 Cursor for Windows 3.2.16 RCE via Malicious git.exe in Workspace CVSS 4.0HIGH 8.7
  • TI-2025-33979 Cursor's Modification of MCP Server Definitions Bypasses Manual Re-approvals CVSS 3.1HIGH 8.8
  • TI-2026-37270 Cursor Desktop sandbox escape via agent-controlled working directory CVSS 4.0CRITICAL 9.3
  • TI-2025-38037 Cursor CLI's Cursor Agent MCP OAuth2 Communication is Vulnerable to Remote Code Execution CVSS 3.1HIGH 8.8
  • TI-2025-33978 Cursor Agent is vulnerable to prompt injection via MCP Special Files CVSS 3.1CRITICAL 9.8
  • TI-2026-21238 Cursor sandbox escape via Git hooks CVSS 3.1CRITICAL 9.9
See all 21 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences