CVE
CVE-2026-50549
- First Reported
- Jul 8, 2026
- Latest Reported
- Jul 8, 2026
CVE Enrichment
- CVSS
- 9.3 CRITICAL
- EPSS
- 1.01%
- EPSS Percentile
- 62.17%
- CISA KEV
- Not listed
Description
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.
Technical Details
- CVSS Version
- 4.0
- CNA / NVD Source
- security-advisories@github.com
- Published
- 26-Jun-2026 02:16
- Last Modified
- 26-Jun-2026 23:51
- EPSS Date
- 2026-10-12
- CWE
- CWE-59
CVSS Vector
CVSS:4.0 AV:N /
AC:L /
AT:N /
PR:N /
UI:N /
VC:H /
VI:H /
VA:H /
SC:N /
SI:N /
SA:N /
E:X /
CR:X /
IR:X /
AR:X /
MAV:X /
MAC:X /
MAT:X /
MPR:X /
MUI:X /
MVC:X /
MVI:X /
MVA:X /
MSC:X /
MSI:X /
MSA:X /
S:X /
AU:X /
R:X /
V:X /
RE:X /
U:X
Affected Products / Versions
- anysphere / cursor
Version / affected range: * · before (exclusive) 3.0
cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*
References
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (1)
- Cursor Critical CVE-2026-50549 < 3.0 3.0 Fixed Symlink Flaws in Six AI Coding Assistants Could Expose Files and Enable Code Execution
CVE (4)
MITRE ATT&CK (2)
Vendors (6)
Products (6)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.