MediumNews
Critical Cursor bug could turn routine Git into RCE
- Published
- Record updated
Summary
Security researchers at Novee Security disclosed CVE-2026-26268, a flaw in the Cursor IDE affecting versions prior to 2.5. A malicious bare repository with a planted pre-commit hook can be executed when Cursor's AI agent runs a routine git checkout, letting an attacker run code on the developer's machine. NVD rates the flaw 9.9 critical, while Cursor assigned a CVSS score of 8.0.
Mitigation
The flaw is patched in Cursor version 2.5.
Related items
- InfoPrompting AI to be ‘thorough’ can drive sandbox escapes, Anthropic saysSame vendor · CSO Online
- InfoDespite doom and gloom headlines, AI attacks are thin on the groundSame vendor · CSO Online
- InfoDrupal Flaw Found by Anthropic Scanner Exploited in AttacksSame vendor · SecurityWeek
- InfoCrowdStrike Accelerates the Shift to the Agentic SOCSame vendor · CrowdStrike Blog
- InfoThree LLM inflection points in twelve monthsSame vendor · Simon Willison's Weblog