- CVSS
- HIGH · 8 v3.1 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
- Published
- 2026-02-13
- Weakness
- CWE-862
- Source
- nvd.nist.gov/vuln/detail/CVE-2026-26268
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.
References
How GTK Cyber trains on this
AI security training at GTK Cyber covers the LLM and ML-pipeline vulnerability classes that vulnerabilities like CVE-2026-26268 fall into. Our hands-on courses are taught by Charles Givre and other practitioners who break and defend production AI systems.