CVE-2026-50548: Cursor is a code editor built for programming with AI. Prior to 3.0, Cursor runs agent terminal commands in a sandbox by
Summary
Cursor is a code editor that uses AI to help with programming. Before version 3.0, Cursor had a security flaw where an AI agent could trick the sandbox (a restricted environment that limits what code can do) into allowing file writes to sensitive locations outside the workspace, potentially letting malicious code run with full user permissions without any protection.
Solution / Mitigation
This vulnerability is fixed in 3.0.
Vulnerability Details
EPSS: 0.0%
June 25, 2026
Classification
Taxonomy References
Affected Vendors
Related Issues
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-50548
First tracked: June 25, 2026 at 08:13 PM
Classified by LLM (prompt v3) · confidence: 95%