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.
Metrics
Affected Vendors & Products
References
History
Fri, 13 Feb 2026 17:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Cursor sandbox escape via Git hooks | |
| Weaknesses | CWE-862 | |
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-02-13T16:54:04.712Z
Reserved: 2026-02-12T17:10:53.413Z
Link: CVE-2026-26268
No data.
Status : Received
Published: 2026-02-13T17:16:14.227
Modified: 2026-02-13T17:16:14.227
Link: CVE-2026-26268
No data.
OpenCVE Enrichment
No data.