Skip to main content

Cursor IDE EUVDEUVD-2026-45178

| CVE-2026-63093 HIGH
Untrusted Search Path (CWE-426)
2026-07-17 VulnCheck GHSA-prfr-jc65-hr23
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft repository with malicious git.exe in root
  2. Delivery
    Lure developer to clone and open in Cursor
  3. Exploit
    Cursor auto-resolves workspace git.exe at startup
  4. Execution
    Planted binary executes as current user
  5. Persist
    Recurring timer re-triggers execution
  6. Impact
    Achieve arbitrary code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
Exploitation Conditions

Exploitation requires the victim to clone and open, in Cursor for Windows 3.2.16, a repository that contains an attacker-supplied git.exe in the repository root directory; the vulnerable behavior is Cursor automatically resolving the workspace-resident git.exe during IDE startup and on a recurring timed cadence. The exploitation-enabling condition is Cursor's relative/workspace-based resolution of the git executable, and the required trigger is opening the crafted workspace (UI:P - passive interaction, no action beyond opening the project). Limiting factors: the target must be on the Windows build, must be running the affected Cursor version, and must be induced to open the malicious repository; code runs only at the current user's privilege level (no privilege escalation is claimed). No prior authentication to the victim system is needed (PR:N).

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H, base 8.7) reflects network-delivered content, low complexity, no privileges, and passive user interaction, with high impact to confidentiality, integrity, and availability but no scope change to other systems. PR:N indicates unauthenticated triggering - the attacker needs no account on the victim's machine, only to get the victim to clone and open a repository. UI:P (passive) combined with automatic timed re-execution meaningfully lowers the real-world barrier versus a flaw needing deliberate victim action. Publicly available exploit code raises practical risk, but there is no CISA KEV entry and no EPSS score provided, so widespread active exploitation is not confirmed - treat this as a high-priority, POC-backed developer-workstation threat rather than a confirmed in-the-wild campaign. The chief limiting factor is social: the victim must be convinced to open a malicious repository.

Exploit ScenarioDerived

An attacker publishes an attractive-looking repository (a sample project, coding challenge, or dependency) containing a malicious git.exe in its root and lures a developer into cloning and opening it in Cursor for Windows. On IDE startup - and again on the recurring timer - Cursor resolves and executes the planted git.exe with the developer's privileges, giving the attacker code execution with no further interaction. Publicly available exploit code lowers the effort required to reproduce this.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 17, 2026

Arbitrary code execution in Cursor for Windows 3.2.16 lets remote attackers run code on a developer's machine by planting a malicious git.exe in a repository's root directory. Because Cursor resolves and executes the workspace-resident git.exe at IDE startup and on a recurring timer, simply cloning and opening a crafted repository triggers execution under the current user's privileges with no explicit user action beyond opening the project. Publicly available exploit code exists and the flaw was reported by VulnCheck; there is no CISA KEV listing or active-exploitation confirmation in the data.

RemediationAI

No vendor-released patch identified at time of analysis; no fixed version is present in the provided data, and the Mindgard disclosure title suggests remediation was not yet coordinated. As specific compensating controls: avoid opening or cloning untrusted repositories in Cursor on Windows, and inspect a repository's root for an unexpected git.exe (or other planted binaries) before opening it - the trade-off is added manual review friction. Configure Cursor/Git to use an absolute, trusted git path (for example, point the git executable setting to the system Git installation such as C:\Program Files\Git\cmd\git.exe) so workspace-relative resolution is bypassed, and verify this actually overrides Cursor's resolution logic since the flaw is in how Cursor locates the binary. Consider running Cursor as a least-privileged user and monitoring for git.exe launched from user project directories. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/cursor-for-windows-rce-via-malicious-git-exe-in-workspace) and vendor site (https://cursor.com/) for an official fixed release before relying solely on workarounds.

Affected VersionsENISA

cursor 3.2.16

Affected Packages

euvd cursor no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected product is Anysphere's Cursor, an AI-assisted code editor forked from VS Code (CPE cpe:2.3:a:anysphere,_inc.:cursor). The root cause is CWE-426 (Untrusted Search Path / binary planting): rather than invoking git.exe from a trusted absolute system path, Cursor resolves the executable relative to the opened workspace, so an attacker-controlled git.exe placed in the repository root is preferred and launched. On Windows, executable resolution that includes the current working directory or relative paths is a classic search-order hijack vector, and IDEs routinely shell out to git for status polling, branch info, and other repository operations - here that behavior fires both at startup and on a recurring timed cadence, giving repeated execution opportunities.

Know when Cursor gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Malicious repo is network-delivered (AV:N, AC:L, PR:N) but the victim must open the workspace (UI:R); code runs as current user with full C/I/A impact and no scope change (S:U).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Cursor for Windows version 3.2.16 contains a binary planting vulnerability that allows remote attackers to achieve arbitrary code execution by placing a malicious git.exe file in the repository root directory. When a developer clones and opens a crafted repository, Cursor automatically resolves and executes the workspace-resident git.exe during IDE startup and on a recurring timed cadence without any user interaction, running the malicious binary under the privileges of the current user.

Executive ViewAI

Why It Matters

Cursor for Windows 3.2.16 contains a critical vulnerability enabling arbitrary code execution on developer workstations whenever a crafted repository is cloned and opened, directly exposing development environments and source code to compromise. With publicly available exploit code and no patch currently available, development teams face immediate risk to intellectual property, credentials, and supply chain integrity. Leadership should treat this as an infrastructure-level threat requiring urgent containment and remediation planning.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting Cursor access to internal repositories only, implementing file-based repository scanning to detect malicious git.exe before cloning, disabling Cursor's git integration if alternative tools are available, monitoring development workstations for unexpected child processes from git.exe, and requiring code review of all cloned repositories before developer execution. Organizations with high-risk development practices should consider disabling Cursor entirely until patches are released.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Medium
popular AI code editor among developers, not ubiquitous like VS Code
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Cursor

View all
CVE-2025-59944 CRITICAL
9.8 Oct 03

Remote code execution in Cursor IDE 1.6.23 and below can be triggered by prompt injection that abuses case-insensitive p

CVE-2026-22708 CRITICAL POC
9.8 Jan 14

Cursor AI code editor before 2.3 allows prompt injection to bypass the Agent's Allowlist mode. Shell built-ins can execu

CVE-2026-50549 CRITICAL POC
9.3 Jun 25

Sandbox escape leading to non-sandboxed remote code execution in Cursor (the AI code editor) prior to version 3.0, where

CVE-2026-50548 CRITICAL POC
9.3 Jun 25

Sandbox escape leading to non-sandboxed remote code execution affects the Cursor AI code editor prior to version 3.0, wh

CVE-2025-61592 HIGH
8.8 Oct 03

Cursor is a code editor built for programming with AI. In versions 1.7 and below, automatic loading of project-specific

CVE-2025-61593 HIGH
8.8 Oct 03

Remote code execution in Cursor CLI Agent 1.7 and earlier can be triggered by unauthenticated attackers through prompt i

CVE-2025-64108 HIGH
8.8 Nov 04

Cursor is a code editor built for programming with AI. Rated high severity (CVSS 8.8), this vulnerability is remotely ex

CVE-2025-61591 HIGH
8.8 Oct 03

Cursor is a code editor built for programming with AI. In versions 1.7 and below, when MCP uses OAuth authentication wit

CVE-2025-64106 HIGH
8.8 Nov 04

Cursor is a code editor built for programming with AI. Rated high severity (CVSS 8.8), this vulnerability is remotely ex

CVE-2025-64107 HIGH
8.8 Nov 04

Cursor is a code editor built for programming with AI. Rated high severity (CVSS 8.8), this vulnerability is remotely ex

CVE-2026-31854 HIGH POC
8.8 Mar 11

Cursor is a code editor built for programming with AI. versions up to 2.0 is affected by os command injection.

CVE-2025-64110 HIGH
8.7 Nov 05

Cursor is a code editor built for programming with AI. Rated high severity (CVSS 8.7), this vulnerability is remotely ex

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy