CVE-2025-64109 Details
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.
A remote code execution vulnerability has been identified in the Cursor CLI Beta, affecting versions prior to 2025.09.17-25b418f. The issue arises from the MCP (Model Context Protocol) server mechanism, which can be exploited by uploading a harmful MCP configuration file, named .cursor/mcp.json, to a GitHub repository. When a victim clones the repository and opens it with Cursor CLI, the application automatically executes the command to launch the malicious MCP server, without any warning. This allows for immediate code execution as soon as the command is run.
Users can update to Cursor CLI version 2025.09.17-25b418f or later. After this update, MCP servers will prompt for confirmation before being enabled.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 5, 2025CISA-ADP
Assessed Nov 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/cursor/cursor/security/advisories/GHSA-4hwr-97q3-37w2 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Cursor CLI | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 5, 2025 | New CVE Received | [email protected] |
Volerion