What is 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.
The record classifies CVE-2026-26268 under weakness class CWE-862. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs high-privilege credentials, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 279 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 8.1 — HIGH
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H - EPSS (FIRST)
- 0.4% probability of exploitation in the next 30 days, higher than 35.4% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 7.5/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2026-02-13
Is CVE-2026-26268 being exploited?
Weaponised exploit code for CVE-2026-26268 is publicly available. 1 public proof-of-concept repository is tracked for this identifier. It currently carries a trending score of 22 in the Threadlinqs vulnerability feed.
- dhawaldesai/agentic-ioc-scanner (github)
Affected products and versions
- cursor: cursor
How to fix CVE-2026-26268
Vendor advisory: https://github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.
Threat activity tracking CVE-2026-26268
1 tracked threat in the Threadlinqs corpus references CVE-2026-26268, either in the campaign’s CVE list or as an indicator on the campaign record.
Sources
Enriched from CVE.org, NVD, FIRST EPSS, public proof-of-concept repositories. This product uses the NVD API but is not endorsed or certified by the NVD.