What’s Vulnerable › Vulnerabilities
CVE-2026-73217: Cursor: Sandbox escape via tampered Python virtual environments
- Severity: high (CVSS 7.7 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-11 · updated 2026-09-09
- Weakness: CWE-693
Description
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.
Affected products
- cursor: before 3.1.2
References
Get alerted when CVE-2026-73217 or the next vulnerability affects your stack