CVE
CVE-2026-50548
cursor · cursor
- First Reported
- Jul 3, 2026
- Latest Reported
- Jul 3, 2026
CVE Enrichment
- CVSS
- 9.3 CRITICAL
- EPSS
- 1.01%
- EPSS Percentile
- 63.69%
- 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, and the sandbox grants write access to the command's working directory. A flaw was identified in how the agent could modify the working_directory parameter, which could cause the sandbox to include writable paths outside the intended workspace. A malicious agent could set working_directory to a sensitive location and 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
- [email protected]
- Published
- 26-Jun-2026 02:16
- Last Modified
- 26-Jun-2026 23:51
- EPSS Date
- 2026-11-13
- CWE
- CWE-22
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
CNA Products / Version Status
- cursor · cursor
Source: CNA · [email protected]
Default status: unknown
< 3.0 — affected
Affected Products / Versions
- anysphere / cursor
Source: NVD CPE · affected
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)
- The security defects are tracked as CVE-2026-50548 and CVE-2026-50549 (CVSS score of 9.8) and are referred to as DuneSlide, given that they lead to remote code execution (RCE) outside of the IDE’s sandbox. Cursor AI Editor Flaws Could Enable OS-Level Remote Code Execution
CVE (1)
Vendors (1)
Products (1)
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.
