CVE-2026-22708: cursor vulnerability
Vendor fix available · Affected: cursor · Exploitation: not established
Verdict
RoutineA fix exists and nothing on record suggests attackers are using it.
- NoAttacks seen
- NoPublic exploit code
- 0.8%Chance of exploitation in 30 days, higher than 58% of scored CVEs
- YesFix available: Vendor fix available
How we decide
Patch now: attacks are on record (CISA KEV, the EU exploited list, CISA marking exploitation active, or a report of exploitation), or exploit code is public for a flaw reachable over the network with no login that has exploit odds of 10% or more, or is rated critical with odds of at least 1%. Patch this cycle: any other public exploit code, scanning observed, or exploit odds of 10% or more. Routine: a fix exists and none of those. No verdict yet: no fix on record and nothing else known. The verdict says how soon to act, not how severe the flaw is, and it changes when these facts change.
What it isNVD
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.
Exploit requirementsfrom the CVSS 4.0 vector
- Where from
- Remotely, over the network
- Login
- None needed
- User action
- None needed
- Conditions
- Conditions outside the attacker's control must line up. The target must be in a specific state or configuration
Also needed, according to the published text
- The Cursor Agent must be running in Auto-Run Mode“hen the Cursor Agent is running in Auto-Run Mode with Allowlist mode enabled” · the CVE record
- Allowlist mode must be enabled“hen the Cursor Agent is running in Auto-Run Mode with Allowlist mode enabled” · the CVE record
Higher than 58% of scored CVEs
ExploitationNot established
ExploitationNot established
Not in CISA KEV as of catalogue 2026.12.03 (3 Dec)
- Not establishedNothing in the sources we check
Not seen so far: in CISA KEV · exploited (reported) · scanning observed · proof of concept public.
Weakness and public checksExternal Control of System or Configuration Setting
Weakness and public checks
- Public check
- No public nuclei template
- Weakness
- External Control of System or Configuration Setting · Misconfiguration and Insecure Design
Related CVEscursor
Other CVEs in cursor
Every published CVE for cursor , by how far exploitation has gone. This one is among them.
CoverageNo articles yet
CoverageNo articles yet
No CyberSIXT article names CVE-2026-22708 yet. New articles appear here and in the RSS feed.