Cursor < 2.5 RCE (GHSA-8pcm-8jpx-hv8r)

critical Nessus Plugin ID 299665

Synopsis

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

Description

The version of Cursor installed on the remote host is prior to 2.5. It is, therefore, affected by a remote code execution vulnerability:

- A malicious agent (ie prompt injection) could write to improperly protected .git settings, including git hooks, which may cause out-of-sandbox remote code execution next time they are triggered. No user interaction was required as Git executes these commands automatically. (CVE-2026-26268)

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

Solution

Upgrade Cursor to version 2.5 or later.

See Also

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

Plugin Details

Severity: Critical

ID: 299665

File Name: cursor_GHSA-8pcm-8jpx-hv8r.nasl

Version: 1.1

Type: local

Agent: windows, macosx, unix

Published: 2/20/2026

Updated: 2/20/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: High

Base Score: 9

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

CVSS Score Source: CVE-2026-26268

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/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: 2/13/2026

Vulnerability Publication Date: 2/13/2026

Reference Information

CVE: CVE-2026-26268