CVE-2026-73217
7.7high
Cursor: Sandbox escape via tampered Python virtual environments
- Severity
- 7.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| cursor cursor | < 3.1.2 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-73217 changed 2026-08-11 | CVE Terms of Use |
| NVD | CVE-2026-73217 changed 2026-09-09 | Public domain |