MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-26268

Cursor sandbox escape via Git hooks

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • PoC-in-GitHub Source: PoC-in-GitHub