Read the docs
TI-2026-32884 Aliases CVE-2026-45033GHSA-9ccr-r5hg-74gf

GitHub Copilot CLI: Nested Bare Repository Can Execute Arbitrary Commands via core.fsmonitor

Priority HIGH 72CWE-696Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0035 28th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed copilot-cli (github): 1.0.43@github/copilot (npm): 1.0.43

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GitHubcopilot-clibefore 1.0.431.0.43Patch availableCNA
—@github/copilot (npm)before 1.0.431.0.43Patch availableGHSA-9ccr-r5hg-74gf
  • copilot-cli VendorGitHub Affected before 1.0.43 Fixed in 1.0.43 Patch available CNA
  • @github/copilot (npm) Vendor— Affected before 1.0.43 Fixed in 1.0.43 Patch available GHSA-9ccr-r5hg-74gf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:github:copilot-cli:*:*:*:*:*:*:*:*before 1.0.43VulnerableGitHub
  • cpe:2.3:a:github:copilot-cli:*:*:*:*:*:*:*:* Versions before 1.0.43 Vulnerable ·GitHub

Remediation

  • Fix · CNA copilot-cli (github) Fixed in 1.0.43
  • Fix · GHSA-9ccr-r5hg-74gf @github/copilot (npm) Fixed in 1.0.43 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45033
  2. 2026-10-03 Alias added: GHSA-9ccr-r5hg-74gf

References

Sources