CVE 8.1 HIGH

Cursor sandbox escape via Git hooks_CVE-2026-26268

8.1 / 10
HIGH
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-26268
Source GitHub_M
Published Feb 13, 2026 at 16:54

Affected Product

Vendor cursor
Product cursor
Version < 2.5
Affected Versions cursor cursor < 2.5

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.