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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-45033— GitHub Copilot CLI: Nested Bare Repository Can Execute Arbitrary Commands via core.fsmonitor

Quick assessment

Affected
github copilot-cli
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.

GitHub Copilot CLI是GitHub开源的一个终端AI编程助手。 GitHub Copilot CLI 1.0.43之前版本存在安全漏洞,该漏洞源于恶意裸git仓库嵌套在项目目录中,当代理执行git操作时利用自动裸仓库发现设置可执行配置键,可能导致任意代码执行。

AI Predicted 7.8 Difficulty: Moderate EPSS 0.38% · P30

Affected Version Matrix 1

VendorProduct Version RangeStatus
github copilot-cli < 1.0.43 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-45033

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
GitHub Copilot CLI: Nested Bare Repository Can Execute Arbitrary Commands via core.fsmonitor
Source: CVE Program / CVE List V5
Vulnerability Description
GitHub Copilot CLI brings AI-powered coding assistance directly to your command line. Prior to 1.0.43, a security vulnerability has been identified in GitHub Copilot CLI where a malicious bare git repository nested inside a project directory can achieve arbitrary code execution when the agent performs git operations. By exploiting git's automatic bare repository discovery during directory traversal, an attacker can set core.fsmonitor or other executable config keys to run arbitrary commands without user awareness or approval. The vulnerability arises because git's core.fsmonitor config key (and 15+ similar keys such as core.hookspath, diff.external, merge.tool, etc.) can specify arbitrary shell commands that git will execute as part of normal operations like status, diff, or rev-parse. This vulnerability is fixed in 1.0.43.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
不正确的行为次序
Source: CVE Program / CVE List V5
Vulnerability Title
GitHub Copilot CLI 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GitHub Copilot CLI是GitHub开源的一个终端AI编程助手。 GitHub Copilot CLI 1.0.43之前版本存在安全漏洞,该漏洞源于恶意裸git仓库嵌套在项目目录中,当代理执行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
github copilot-cli < 1.0.43 -

II. Public POCs for CVE-2026-45033

# 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-45033

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-45033 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-45033

No comments yet


Leave a comment