CVE-2026-50549: Vulnerability in Anysphere Cursor
Critical. 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...
CWE-59
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-59
- Published
- 25 Jun 2026
- Last change
- 26 Jun 2026
Affected products
Affected versions and the first fixed release
- Anysphere Cursor Before 3.0. Fixed in 3.0
Advisories
Vendor and security advisories
Related
- Cursor vulnerabilities Recent advisories, watch this product