AI and data stack advisories

Severe, 6 weeks1498Projects326

1498 severe, 6 weeks · 326 projects

CursorGHSA-p9g2-cr55-cw9c

Sandbox escape via tampered Python virtual environments

Cursor

CVE-2026-73217 · Published Jul 14, 2026 · updated Aug 11, 2026

High
Fix: upgrade to 3.1.2 or later
GitHub advisory

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. When the Microsoft Python extension invokes that interpreter outside the sandbox, the wrapper can execute arbitrary host commands with the user’s privileges, including modifying files outside the workspace and launching applications.

Affected versions

PackageAffectedFixed in
Cursor
Product
< 3.1.23.1.2
Details and references

More Cursor advisories

All Cursor