CVE-2026-26268CWE-862

Cursor sandbox escape via Git hooks

High · published February 13, 2026

CVSS v3.1
8.1
EPSS
0%
Percentile
40.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00476 · 40.1th percentile
Weakness
CWE-862 · Missing Authorization
Published
2026-02-13T16:54Z
EPSS history
Timeline
  • 13 FEB 16:54Z
    Cursor sandbox escape via Git hooks
    cvelistv5