Auth bypass in Anysphere Cursor
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (34.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 34th percentile — 34.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.004 · change: -0.002
Affected products
- Anysphere Cursor
- Cursor — versions < 2.5
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r (Vendor Advisory)
Frequently asked questions
- What is CVE-2026-26268?
- CVE-2026-26268 is a high-severity vulnerability in Anysphere Cursor, classified under Missing Authorization. CVSS score: 8.0/10. Published 2026-02-13.
- How severe is CVE-2026-26268?
- High severity. CVSS v3 base score is 8.0 out of 10.
- Is CVE-2026-26268 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.