CVE-2026-26268
Last modified
CVE-2026-26268 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. Cursor is a code editor built for programming with AI. Sandbox escape via writing .git configuration was possible in versions prior to 2.5. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Anysphere | Cursor | < 2.5 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-26268?
How severe is CVE-2026-26268?
How do I fix CVE-2026-26268?
Are you affected by CVE-2026-26268?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
