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

Published Aug 11, 2026
·
Updated

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

1 affected component
Cursor Cursor IDE for macOS<3.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Cursor (macOS) to a version that resolves this vulnerability.

    Fixed in 3.1.2

Event History

Aug 11, 2026
CVE Published
via MITRE·05:46 PM
Data Sourced
via MITRE·05:46 PM
DescriptionWeakness
Data Sourced
via NVD·06:18 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-73217?

CVE-2026-73217 has a risk rating of 60, indicating a medium severity level.

2

How do I fix CVE-2026-73217?

To mitigate CVE-2026-73217, update to Cursor IDE version 3.1.2 or later.

3

What is affected by CVE-2026-73217?

CVE-2026-73217 affects Cursor IDE for macOS prior to version 3.1.2.

4

What type of vulnerability is CVE-2026-73217?

CVE-2026-73217 is a sandbox escape vulnerability that involves tampered Python virtual environments.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203