rewindex

RewindexCVEsCursor

CVE-2026-26268: Cursor sandbox escape via Git hooks

High · CVSS 8.1 (CVSS 3.1)EPSS 0.70%, 53th percentilePublished Updated Assigner: GitHub_M

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.

Vector CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H · CWE-862

Tracked companies

Cursor

Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.

Status incidents that name it

No tracked status incident names this CVE.

Affected vendors and products

cursor: cursor

References

All CVEsMarkdownJSON