CVE-2026-26268

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*

History

18 Feb 2026, 17:59

Type Values Removed Values Added
References () https://github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r - () https://github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r - Vendor Advisory
First Time Anysphere cursor
Anysphere
CPE cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*

13 Feb 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-13 17:16

Updated : 2026-02-18 17:59


NVD link : CVE-2026-26268

Mitre link : CVE-2026-26268

CVE.ORG link : CVE-2026-26268


JSON object : View

Products Affected

anysphere

  • cursor
CWE
CWE-862

Missing Authorization