CVE-2026-73217 PUBLISHED

Cursor: Sandbox escape via tampered Python virtual environments

Assigner: GitHub_M
Reserved: 11.08.2026 Published: 11.08.2026 Updated: 11.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 7.7

Product Status

Vendor cursor
Product cursor
Versions
  • Version < 3.1.2 is affected

References

Problem Types

  • CWE-693: Protection Mechanism Failure CWE