CVE-2026-26268: Anysphere Cursor
Critical severity, CVSS 9.9. EPSS: 0.4% chance of exploitation in the next 30 days.
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.
Affected products
- Anysphere Cursor: before 2.5 (fixed in 2.5)
Published 2026-02-13. Last modified 2026-06-17.