CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"cursor","vendor":"cursor","versions":[{"status":"affected","version":"< 2.5"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f1b12eee8d22c48a46cbd2631b04781a8b78c3635479e30bedd1cd4a1e1fff60 · sha256:1ea5f96139c1159a… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f1b12eee8d22c48a46cbd2631b04781a8b78c3635479e30bedd1cd4a1e1fff60 · sha256:1ea5f96139c1159a… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-862","description":"CWE-862: Missing Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f1b12eee8d22c48a46cbd2631b04781a8b78c3635479e30bedd1cd4a1e1fff60 · sha256:1ea5f96139c1159a… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r","tags":["x_refsource_CONFIRM"],"url":"https://github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f1b12eee8d22c48a46cbd2631b04781a8b78c3635479e30bedd1cd4a1e1fff60 · sha256:1ea5f96139c1159a… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.