CVE-2025-61590 (CNNVD-202510-457)

HIGH
中文标题:
Cursor 代码注入漏洞
英文标题:
Cursor is vulnerable to RCE via .code-workspace files using Prompt Injection
CVSS分数: 7.5
发布时间: 2025-10-03 16:27:34
漏洞类型: 代码注入
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Cursor是Cursor开源的一个 AI 代码编辑器。 Cursor 1.6及之前版本存在代码注入漏洞,该漏洞源于攻击者可通过Visual Studio Code Workspaces修改工作区设置,可能导致远程代码执行。

英文描述:

Cursor is a code editor built for programming with AI. Versions 1.6 and below are vulnerable to Remote Code Execution (RCE) attacks through Visual Studio Code Workspaces. Workspaces allow users to open more than a single folder and save specific settings (pretty similar to .vscode/settings.json) for the folders / project. An untitled workspace is automatically created by VS Code (untitled.code-workspace), which contains all the folders and workspace settings from the user's current session, opening up an entire new attack vector if the user has a .code-workspace file in path (either untitled created automatically or a saved one). If an attacker is able to hijack the chat context of the victim (such as via a compromised MCP server), they can use prompt injection to make the Cursor Agent write into this file and modify the workspace. This leads to a bypass of CVE-2025-54130 which can lead to RCE by writing to the settings section. This issue is fixed in version 1.7.

CWE类型:
CWE-94
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
cursor cursor < 1.7 - - cpe:2.3:a:cursor:cursor:<_1.7:*:*:*:*:*:*:*
anysphere cursor * - - cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/cursor/cursor/security/advisories/GHSA-xg6w-rmh5-r77r x_refsource_CONFIRM
cve.org
访问
CVSS评分详情
3.1 (cna)
HIGH
7.5
CVSS向量: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2025-10-03 16:27:34
修改时间:
2025-10-03 18:27:52
创建时间:
2025-11-11 15:40:48
更新时间:
2025-11-11 16:00:20
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-61590 2025-11-11 15:23:33 2025-11-11 07:40:48
NVD nvd_CVE-2025-61590 2025-11-11 15:01:04 2025-11-11 07:48:35
CNNVD cnnvd_CNNVD-202510-457 2025-11-11 15:12:30 2025-11-11 08:00:20
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:20
vulnerability_type: 未提取 → 代码注入; cnnvd_id: 未提取 → CNNVD-202510-457; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 代码注入
  • cnnvd_id: 未提取 -> CNNVD-202510-457
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:35
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']