CVE-2026-45033
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-05-13
- Last modified
- 2026-10-26
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.4 %
higher than 28 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Github | Copilot-cli | < 1.0.43 | Affected |
Weakness type
-
CWE-696: Incorrect Behavior Order
The product performs multiple related behaviors, but the behaviors are performed in the wrong order in ways that may produce resultant weaknesses.
References
- https://github.com/github/copilot-cli/security/advisories/GHSA-9ccr-r5hg-74gf
- https://github.com/github/copilot-cli/security/advisories/GHSA-9ccr-r5hg-74gf
Related at Berigo
Articles
-
Attackers are letting npm mirrors host their fake Cloudflare page
Same product
2026-08-27
OX Security has identified 24 malicious npm packages that all carry the same fake Cloudflare page. Installing them does no harm, but mirrors such as …
-
Five remote hires turned out to be probable North Korean workers
Same product
2026-08-27
During 2026 Huntress supported investigations in which five remote employees were assessed as likely North Korean workers. The roles covered IT, sale…
-
Shared Claude conversations turned up in Google search
Same product
2026-08-18
On 27 July 2026 404 Media reported that shared Claude conversations and artifacts appeared in Google search results. The findings included medical re…
-
A new backdoor takes its orders from files on GitHub
Same product
2026-08-18
Zscaler ThreatLabz describes the C2Looper backdoor, written in Rust. Its newest version puts orders, replies and heartbeats in three JSON files in a …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.