CVE
CVE-2026-26268
- First Reported
- Oct 26, 2026
- Latest Reported
- Oct 26, 2026
CVE Enrichment
- CVSS
- 9.9 CRITICAL
- EPSS
- 0.70%
- EPSS Percentile
- 52.90%
- CISA KEV
- Not listed
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.
Technical Details
- CVSS Version
- 3.1
- CNA / NVD Source
- [email protected]
- Published
- 14-Feb-2026 00:16
- Last Modified
- 17-Jun-2026 17:26
- EPSS Date
- 2026-10-26
- CWE
- CWE-862
CVSS Vector
CVSS:3.1 AV:N /
AC:L /
PR:L /
UI:N /
S:C /
C:H /
I:H /
A:H
Affected Products / Versions
- anysphere / cursor
Version / affected range: * · before (exclusive) 2.5
cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*
References
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (1)
- to run arbitrary binaries, bypassing Secure Mode; Google patched it in February 2026. In Cursor, CVE-2026-26268 let a repository ship a booby-trapped Git hook that fired the moment the agent ran a Git command, no How to Secure AI Coding Harnesses in the Enterprise
CVE (1)
MITRE ATT&CK (1)
Vendors (5)
Products (10)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.
