جزئیات آسیبپذیری
CVE-2025-32018
Arbitrary file write from Cursor Agent through a prompt injection from malicious @Docs
شرح رسمی (انگلیسی)
Cursor is a code editor built for programming with AI. In versions 0.45.0 through 0.48.6, the Cursor app introduced a regression affecting the set of file paths the Cursor Agent is permitted to modify automatically. Under specific conditions, the agent could be prompted, either directly by the user or via maliciously crafted context, to automatically write to files outside of the opened workspace. This behavior required deliberate prompting, making successful exploitation highly impractical in real-world scenarios. Furthermore, the edited file was still displayed in the UI as usual for user review, making it unlikely for the edit to go unnoticed by the user. This vulnerability is fixed in 0.48.7.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 8.1بالا | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| getcursor | cursor | >= 0.45.0, < 0.48.7 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۱- https://github.com/getcursor/cursor/security/advisories/GHSA-qjh8-mh96-fc86 x_refsource_CONFIRM
اطلاعات
- تاریخ انتشار
- ۱۴۰۴/۰۱/۱۹
- آخرین بهروزرسانی
- ۱۴۰۴/۰۱/۱۹
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- خیر
- وضعیت بهرهبرداری
- ندارد
- اثر فنی
- کامل
ضعفها (CWE)
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')