CVE 8.8 HIGH

Cursor CLI Beta: Command Injection via Untrusted MCP Configuration_CVE-2025-64109

8.8 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

AI Analysis

Remote code execution through the MCP server mechanism by uploading a malicious MCP configuration

Basic Information

ID CVE-2025-64109
Source GitHub_M
Published Nov 4, 2025 at 23:09

Affected Product

Vendor cursor
Product cursor
Version < 2025.09.17-25b418f
Affected Versions cursor cursor < 2025.09.17-25b418f

CWE Classification

AI Assessment

AI Score 8.8 / 10
AI Severity High
Vendor Cursor
Product Cursor CLI Beta
Version < 2025.09.17-25b418f

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.