Description

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.

INFO

Published Date :

2026-01-14T16:43:54.000Z

Last Modified :

2026-01-14T16:59:53.022Z

Source :

GitHub_M
AFFECTED PRODUCTS

The following products are affected by CVE-2026-22708 vulnerability.

Vendors Products
Anysphere
  • Cursor
Cursor
  • Cursor
REFERENCES

Here, you will find a curated list of external links that provide in-depth information to CVE-2026-22708.

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact