Cursor up to 15.4.1 Model Context Protocol Server cursor/mcp.json os command injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Cursor. It has been classified as critical. Affected is an unknown function of the file cursor/mcp.json of the component Model Context Protocol Server. This manipulation causes os command injection. This vulnerability is handled as CVE-2025-64109. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is recommended. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Details
A vulnerability has been found in Cursor and classified as critical. Affected by this vulnerability is an unknown code block of the file cursor/mcp.json of the component Model Context Protocol Server. The manipulation with an unknown input leads to a os command injection vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
It is possible to read the advisory at github.com. This vulnerability is known as CVE-2025-64109 since 10/27/2025. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1202 according to MITRE ATT&CK.
By approaching the search of inurl:cursor/mcp.json it is possible to find vulnerable targets with Google Hacking.
Upgrading to version 2025.09.17-25b418f eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at CNNVD (CNNVD-202511-362). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Name
Version
Website
- Product: https://github.com/cursor/cursor/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.4
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 8.8
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Os command injectionCWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Google Hack: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Cursor 2025.09.17-25b418f
Timeline
10/27/2025 CVE reserved11/05/2025 Advisory disclosed
11/05/2025 VulDB entry created
11/05/2025 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-4hwr-97q3-37w2
Status: Confirmed
CVE: CVE-2025-64109 (🔒)
GCVE (CVE): GCVE-0-2025-64109
GCVE (VulDB): GCVE-100-331231
CNNVD: CNNVD-202511-362 - Cursor 操作系统命令注入漏洞
Entry
Created: 11/05/2025 06:42 AMUpdated: 11/05/2025 03:38 PM
Changes: 11/05/2025 06:42 AM (65), 11/05/2025 03:38 PM (6)
Complete: 🔍
Cache ID: 244:02D:40
No comments yet. Languages: en.
Please log in to comment.