Cursor < 1.7 RCE (GHSA-xcwh-rrwj-gxc7)

high Nessus Plugin ID 270574

Synopsis

The Cursor instance installed on the remote host is affected a remote code execution vulnerability.

Description

The version of Cursor installed on the remote host is prior to 1.7. It is, therefore, affected by a remote code execution vulnerability. Versions 1.6.23 and below contain case-sensitive checks in the way Cursor IDE protects its sensitive files (e.g., */.cursor/mcp.json), which allows attackers to modify the content of these files through prompt injection and achieve remote code execution. A prompt injection can lead to full RCE through modifying sensitive files on case-insensitive fileystems.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade Cursor to version 1.7 or later.

See Also

http://www.nessus.org/u?ba5b9e59

Plugin Details

Severity: High

ID: 270574

File Name: cursor_GHSA-xcwh-rrwj-gxc7.nasl

Version: 1.1

Type: local

Agent: windows, macosx, unix

Published: 10/15/2025

Updated: 10/15/2025

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.1

Vector: CVSS2#AV:N/AC:H/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2025-59944

CVSS v3

Risk Factor: High

Base Score: 8

Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

Vulnerability Information

CPE: x-cpe:/a:anysphere:cursor

Required KB Items: installed_sw/Anysphere Cursor

Patch Publication Date: 10/3/2025

Vulnerability Publication Date: 10/3/2025

Reference Information

CVE: CVE-2025-59944

CWE: 78