CVE-2025-64109
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-05

Last updated on: 2025-11-06

Assigner: GitHub, Inc.

Description
Cursor is a code editor built for programming with AI. In versions and below, a vulnerability in the Cursor CLI Beta allowed an attacker 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. Once a victim clones the project and opens it using Cursor CLI, the command to run the malicious MCP server is immediately executed without any warning, leading to potential code execution as soon as the command runs. This issue is fixed in version 2025.09.17-25b418f.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-05
Last Modified
2025-11-06
Generated
2026-05-07
AI Q&A
2025-11-05
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
cursor cursor *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in the Cursor CLI Beta where an attacker can achieve remote code execution by uploading a malicious MCP configuration file (.cursor/mcp.json) to a GitHub repository. When a victim clones the repository and opens it using Cursor CLI, the malicious MCP server command runs immediately without warning, allowing the attacker to execute arbitrary code on the victim's machine.


How can this vulnerability impact me? :

The vulnerability can lead to remote code execution on your system if you clone and open a maliciously crafted repository using Cursor CLI. This could allow attackers to run arbitrary commands, potentially compromising your system's confidentiality, integrity, and availability.


What immediate steps should I take to mitigate this vulnerability?

Update Cursor CLI to version 2025.09.17-25b418f or later, as this version contains the fix for the vulnerability. Avoid cloning and opening GitHub repositories that contain a .cursor/mcp.json file with untrusted or unknown MCP configurations until the update is applied.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart