Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-54130— Cursor Agent is vulnerable prompt injection via Editor Special Files

Quick assessment

Affected
cursor cursor
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Cursor是Cursor开源的一个 AI 代码编辑器。 Cursor 1.3.9之前版本存在授权问题漏洞,该漏洞源于允许未经用户批准写入工作区文件,可能导致远程代码执行。

CVSS 7.5 · High EPSS 0.30% · P22
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-54130

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Cursor Agent is vulnerable prompt injection via Editor Special Files
Source: CVE Program / CVE List V5
Vulnerability Description
Cursor is a code editor built for programming with AI. Cursor allows writing in-workspace files with no user approval in versions less than 1.3.9. If the file is a dotfile, editing it requires approval but creating a new one doesn't. Hence, if sensitive editor files, such as the .vscode/settings.json file don't already exist in the workspace, an attacker can chain a indirect prompt injection vulnerability to hijack the context to write to the settings file and trigger RCE on the victim without user approval. This is fixed in version 1.3.9.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Cursor 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Cursor是Cursor开源的一个 AI 代码编辑器。 Cursor 1.3.9之前版本存在授权问题漏洞,该漏洞源于允许未经用户批准写入工作区文件,可能导致远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
cursor cursor < 1.3.9 -

II. Public POCs for CVE-2025-54130

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-54130

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-54130

No comments yet


Leave a comment