CVE-2025-64109
BaseFortify
Publication date: 2025-11-05
Last updated on: 2025-11-06
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| cursor | cursor | * |
Helpful Resources
Exploitability
| 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.