CriticalVulnerabilityLLM-specific
CVE-2026-22708: Cursor shell built-ins bypass allowlist approval in Auto-Run Mode
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-22708
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.8%
Summary
CVE-2026-22708 affects Cursor, a code editor built for programming with AI, prior to 2.3. When the Cursor Agent runs in Auto-Run Mode with Allowlist mode enabled, certain shell built-ins can execute without appearing in the allowlist and without user approval. An attacker using direct or indirect prompt injection can set, modify, or remove environment variables that influence trusted commands, poisoning the shell environment.
Mitigation
Fixed in 2.3.
Topics
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- InfoTop agent skill security resources — November 2026Similar attack · Adversa AI Blog
- InfoHow to Turn AI Red Team Findings Into Runtime ControlsSimilar attack · Straiker Blog
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database