🔍 CVE-2025-61590

7.5
CVSS Score
HIGH
2025-10-03
2026-10-19 17:10
✅ 완료

🇰🇷 한글 설명

AI 기반 코드 에디터인 Cursor의 1.6 이하 버전에서 Visual Studio Code 워크스페이스 설정을 악용한 원격 코드 실행(RCE) 취약점이 발견되었습니다. 공격자가 프롬프트 인젝션을 통해 워크스페이스 설정 파일(.code-workspace)을 조작함으로써 보안 제어를 우회하고 임의의 코드를 실행할 수 있습니다.

💡 쉬운 설명

AI 채팅 기능을 통해 해커가 몰래 명령을 내려 에디터의 설정 파일을 바꾸고, 이를 통해 컴퓨터에 악성 코드를 실행하게 만드는 보안 구멍입니다. AI가 사용자의 의도와 상관없이 위험한 설정을 저장하도록 유도하는 방식입니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Cursor version 1.6 and below

⚔️ 공격 벡터

프롬프트 인젝션을 통한 워크스페이스 설정 파일(.code-workspace) 변조 및 RCE

🛡️ 대응 방법

Cursor를 최신 버전인 1.7 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 1.7 미만(예: 1.6.x)인지 확인하십시오.

Shell / Script
cursor --version 2>/dev/null || echo 'Check Cursor version manually in Help > About'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Visual Studio