Cursor
Cursor: Sandbox escape via tampered Python virtual environments
Cursor is a code editor built for programming with AI. Prior to 3.1.2, Cursor IDE for macOS allows an agent running in Auto-Run Sandbox mode to replace a virtual environment's Python executable with a malicious wrapper that the Microsoft Python extension invokes outside the sandbox, allowing arbitrary host commands with the user's privileges, including modifying files outside the workspace and launching applications. This issue is fixed in version 3.1.2.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.7high · scored by CNA · CWE-693
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
cursor cursor
- < 3.1.2
Fixed in 3.1.2
Mitigation
Upgrade cursor to 3.1.2 or later.
References
- Vendor advisory github.com/cursor/cursor/security/advisories/G…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.