# CVE-2026-73217: Cursor: Sandbox escape via tampered Python virtual environments

> CVE-2026-73217: Cursor: Sandbox escape via tampered Python virtual environments. CVSS 7.7 (CVSS 4.0).

Canonical: https://rewindex.com/cve/CVE-2026-73217
Last updated: 2026-09-09T20:58:37Z

- Published: 2026-08-11 17:46 UTC · Updated: 2026-09-09 20:58 UTC · Assigner: GitHub\_M
- CVSS: 7.7 (CVSS 4.0) · Severity: High
- EPSS: 0.43%, 37th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: 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 vendors and products

- cursor: cursor

## Tracked companies

- [Cursor](https://rewindex.com/company/cursor.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-73217)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-73217)
- [https://github.com/cursor/cursor/security/advisories/GHSA-p9g2-cr55-cw9c](https://github.com/cursor/cursor/security/advisories/GHSA-p9g2-cr55-cw9c)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-73217 · Markdown: https://rewindex.com/cve/CVE-2026-73217.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-73217 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:12:47.609Z
