Vulnerability intelligence
CVE-2026-26268
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
1 article across 1 outlet · first covered Apr 30, 2026 · latest Apr 30, 2026
Coverage timeline
-
Google Fixes CVSS 10 Gemini CLI CI RCE and Cursor Flaws Enable Code Executionthehackernews.com · Apr 30, 2026