CVE-2026-22708CRITICAL 9.8EPSS p35.5%

CVE-2026-22708CVE-2026-22708

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.

Scoring

CVSS 3.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS0.45% probability of exploitation · percentile 35.5% · 2026-06-19T12:03:05Z
Published2026-01-14
Last modified2026-02-03

Underlying weaknesses· 6

CWE-15CWE-74CWE-77CWE-78CWE-94CWE-269

References

  1. https://github.com/cursor/cursor/security/advisories/GHSA-82wg-qcm4-fp2w

6

TypeTargetConfidenceTier
WeaknessExternal Control of System or Configuration Settingcwe-150%live
WeaknessImproper Privilege Managementcwe-2690%live
WeaknessImproper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')cwe-740%live
WeaknessImproper Neutralization of Special Elements used in a Command ('Command Injection')cwe-770%live
WeaknessImproper Neutralization of Special Elements used in an OS Command ('OS Command Injection')cwe-780%live
WeaknessImproper Control of Generation of Code ('Code Injection')cwe-940%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2025-54131
CVE
CVE-2026-31854
CVE
CVE-2026-26268
CVE
CVE-2025-54130
CVE
CVE-2025-32018
CVE
CVE-2025-61593
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.