{"id":"CVE-2026-26268","aliases":["EUVD-2026-7368"],"status":"published","title":"Cursor sandbox escape via Git hooks","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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.0069,"percentile":0.53272,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-862"],"published":"2026-02-13T16:54:04Z","modified":"2026-06-17T10:26:00Z","exploits":[{"source":"pocgithub","id":"dhawaldesai/agentic-ioc-scanner","title":"dhawaldesai/agentic-ioc-scanner","date":"2026-05-05","url":"https://github.com/dhawaldesai/agentic-ioc-scanner"}],"products":[{"vendor":"anysphere","product":"cursor"},{"vendor":"cursor","product":"cursor"}],"references":[{"url":"https://github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r","tags":["x_refsource_CONFIRM","Vendor Advisory"]}],"sources":{"cve":[{"id":"CVE-2026-26268","title":"Cursor sandbox escape via Git hooks","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.","status":"published","published":"2026-02-13T16:54:04.712Z","modified":"2026-02-13T21:12:35.045Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T13:38:20.971157Z"}],"euvd":[{"id":"EUVD-2026-7368","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.","status":"published","published":"2026-02-13T16:54:04Z","modified":"2026-02-13T21:12:35Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T19:48:38.489604Z"}],"nvd":[{"id":"CVE-2026-26268","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.","status":"published","published":"2026-02-13T17:16:14.227Z","modified":"2026-06-17T10:26:00.92Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:12:05.908608Z"}]}}
