Description
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.
INFO
Published Date :
2026-02-13T16:54:04.712Z
Last Modified :
2026-02-13T21:12:35.045Z
Source :
GitHub_M
AFFECTED PRODUCTS
The following products are affected by CVE-2026-26268 vulnerability.
| Vendors | Products |
|---|---|
| Anysphere |
|
| Cursor |
|
REFERENCES
Here, you will find a curated list of external links that provide in-depth information to CVE-2026-26268.
CVSS Vulnerability Scoring System
Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact