CVE-2026-73217: 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Cursor (macOS)to a version that resolves this vulnerability.Fixed in 3.1.2
Event History
Frequently Asked Questions
What is the severity of CVE-2026-73217?
CVE-2026-73217 has a risk rating of 60, indicating a medium severity level.
How do I fix CVE-2026-73217?
To mitigate CVE-2026-73217, update to Cursor IDE version 3.1.2 or later.
What is affected by CVE-2026-73217?
CVE-2026-73217 affects Cursor IDE for macOS prior to version 3.1.2.
What type of vulnerability is CVE-2026-73217?
CVE-2026-73217 is a sandbox escape vulnerability that involves tampered Python virtual environments.
Who is impacted by CVE-2026-73217?
Users of Cursor IDE for macOS prior to version 3.1.2 are impacted by CVE-2026-73217.