Ad

CVE-2026-22708

HIGH CVSS 4.0: 7.2 EPSS 0.07%
Updated Jan 14, 2026
Cursor
Parameter Value
CVSS 7.2 (HIGH)
Fixed In 2.3
Type CWE-78 (OS Command Injection), CWE-77 (Command Injection), CWE-269 (Improper Privilege Management), CWE-74 (Injection), CWE-94 (Code Injection), CWE-15 (External Control of System Setting)
Vendor Cursor
Public PoC No

Cursor is a code editor built for programming with AI. Prior to 2.3, hen the Cursor Agent is running in Auto-Run Mode with Allowlist mode enabled, certain shell built-ins can still be executed without appearing in the allowlist and without requiring user approval. This allows an attacker via indirect or direct prompt injection to poison the shell environment by setting, modifying, or removing environment variables that influence trusted commands.

This vulnerability is fixed in 2.3.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products

cursor:cursor