---
id: CVE-2026-73217
title: Cursor is a code editor built for programming with AI
summary: >-
  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…
severity: none
cwe:
  - CWE-693
published: '2026-08-11'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T20:58:37.713'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73217'
references:
  - url: 'https://github.com/cursor/cursor/security/advisories/GHSA-p9g2-cr55-cw9c'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00428
epssPercentile: 0.34417
ingestedAt: '2026-09-09T21:22:45.529Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
