All CVEs
Vulnerability intelligence

CVE-2026-26268

CWE-862

Cursor is a code editor built for programming with AI. Sandbox escape via writing .git configuration was possible in versions prior to 2.5. A malicious agent (ie prompt injection) could write to improperly protected .git settings, including git hooks, which may cause out-of-sandbox RCE next time they are triggered. No user interaction was required as Git executes these commands automatically. Fixed in version 2.5.

CVSS Score
8.1
High
EPSS — Exploit Probability
0.5%
Riskier than 39% of all CVEs
Exploitation
Not in CISA KEV
No federal exploitation record
Remediation
Patch available
Vendor fix published
NVD entry Vendor patch PoC / advisory

1 article across 1 outlet · first covered Apr 30, 2026 · latest Apr 30, 2026

Coverage timeline