{"id":"CVE-2026-26268","published":"2026-02-13T16:54:04Z","modified":"2026-02-13T21:12:35Z","title":"Cursor sandbox escape via Git hooks","vendor":"cursor","product":"cursor","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.36445,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":7.29},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-05-05","earliestUrl":"https://github.com/dhawaldesai/agentic-ioc-scanner","repos":[{"name":"dhawaldesai/agentic-ioc-scanner","url":"https://github.com/dhawaldesai/agentic-ioc-scanner","stars":1,"created":"2026-05-05"}]},"first":{"date":"2026-05-05","source":"PoC-in-GitHub","url":"https://github.com/dhawaldesai/agentic-ioc-scanner"},"provenance":"source"},"vendorSlug":"cursor","affectedVersions":[{"vendor":"cursor","product":"cursor","versions":["< 2.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-02-13T21:12:25.276272Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-7368","exploited":false,"provenance":"source"}}