Vulnerability

CVE-2026-26268

criticalCVSS 3.1 9.9Published 13 Feb 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Anysphere cursor

Weakness type

References

  • github.com /cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning