Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-26268— Cursor sandbox escape via Git hooks

Quick assessment

Affected
cursor cursor
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Cursor是Cursor开源的一款深度集成AI的智能代码编辑器。 Cursor 2.5之前版本存在安全漏洞,该漏洞源于可通过写入.git配置实现沙箱逃逸,可能导致触发时发生沙箱外远程代码执行。

CVSS 8.1 · High EPSS 0.65% · P48
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-26268

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Cursor sandbox escape via Git hooks
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制缺失
Source: CVE Program / CVE List V5
Vulnerability Title
Cursor 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Cursor是Cursor开源的一款深度集成AI的智能代码编辑器。 Cursor 2.5之前版本存在安全漏洞,该漏洞源于可通过写入.git配置实现沙箱逃逸,可能导致触发时发生沙箱外远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
cursor cursor < 2.5 -

II. Public POCs for CVE-2026-26268

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-26268

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2026-26268

No comments yet


Leave a comment