CVE-2026-26268Anysphere Cursor
Critical 9.9
Follow: this CVE · Anysphere · Anysphere Cursor We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 9.9
- EPSS
- —
- Auth required
- Yes
- Published
- Feb 13, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-862
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Cursor.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| anysphere | cursor | < 2.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory