CVE-2026-22708
criticalpriority · track · 39EPSS 0.008 · 57 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.2–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-22708cnnvd
- https://cursor.com/cnPatchcnnvd
- https://github.com/cursor/cursor/security/advisories/GHSA-82wg-qcm4-fp2wcnnvd
- https://github.com/cursor/cursor/security/advisories/GHSA-82wg-qcm4-fp2wenisa_euvd
- https://github.com/cursor/cursor/security/advisories/GHSA-82wg-qcm4-fp2wVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan