CVE-2025-64109
Cursor IDE vulnerability analysis and mitigation

Overview

CVE-2025-64109 affects Cursor, a code editor built for programming with AI. The vulnerability was discovered in the Cursor CLI Beta and disclosed on November 3, 2025. The issue allows attackers to achieve remote code execution through the MCP (Model Context Protocol) server mechanism by uploading a malicious MCP configuration in .cursor/mcp.json file in a GitHub repository. All versions prior to 2025.09.17-25b418f are affected (GitHub Advisory).

Technical details

The vulnerability is classified as a Command Injection vulnerability (CWE-78) with a CVSS v3.1 score of 8.8 (High). The attack vector is Network-based (AV:N) with Low attack complexity (AC:L), requiring no privileges (PR:N) but does need user interaction (UI:R). The scope is Unchanged (S:U) with High impact on Confidentiality, Integrity, and Availability (C:H/I:H/A:H). The vulnerability stems from improper neutralization of special elements used in OS commands, allowing malicious MCP configurations to execute arbitrary commands (GitHub Advisory).

Impact

When successfully exploited, the vulnerability allows attackers to achieve remote code execution on the victim's system. The attack can be triggered as soon as a victim clones an affected project and opens it using Cursor CLI, with the malicious command being executed immediately without any warning (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 2025.09.17-25b418f. The fix implements a security prompt that requires user confirmation before enabling MCP servers. Users are advised to upgrade to the patched version immediately. No workarounds were provided for earlier versions (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Cursor IDE vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-62354CRITICAL9.8
  • Cursor IDECursor IDE
  • cpe:2.3:a:anysphere:cursor
NoYesNov 26, 2025
CVE-2025-64109HIGH8.8
  • Cursor IDECursor IDE
  • cpe:2.3:a:anysphere:cursor
NoYesNov 05, 2025
CVE-2025-64108HIGH8.8
  • NixOSNixOS
  • cursor
NoYesNov 04, 2025
CVE-2025-64107HIGH8.8
  • NixOSNixOS
  • cursor
NoYesNov 04, 2025
CVE-2025-64110HIGH8.7
  • NixOSNixOS
  • cpe:2.3:a:anysphere:cursor
NoYesNov 05, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management