CVE-2025-64109: Cursor - Remote Code Execution
- Cve: CVE-2025-64109
- Name: Cursor - Remote Code Execution
- 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.
- Impact: Attackers can execute arbitrary code on victim machines when they open a maliciously crafted project with Cursor CLI.
- Remediation: Update to version 2025.09.17-25b418f or later.
- Vulnerability type: remote_code_execution
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Victim must clone and open the malicious project using Cursor CLI
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00517
- Epss percentile: 0.4458
- Assignee: [email protected]
- Published at: 2025-11-05T00:15:34Z
- Age in days: 384
- Modified at: 2026-10-19T13:10:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-64109
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Hackerone
- Reports: 1
- Rank: 5211
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/cursor/cursor/security/advisories/GHSA-4hwr-97q3-37w2 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| anysphere:cursor | < 2025.09.17-25b418f | no | cna_alias_text | /v1/products/anysphere/cursor |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| cursor/cursor | security_advisory | yes | /v1/repositories/cursor/cursor |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts