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.
Weakness
- CWE-696: Incorrect Behavior Order
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-05-13 |
Timeline
- 2026-05-11GitHub advisory published (GHSA-9ccr-r5hg-74gf)2 days before publication
- 2026-05-13Published by the CNA15:45 UTC
- 2026-05-13CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-9ccr-r5hg-74gf, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm @github/copilot | before 1.0.43 | 1.0.43 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| github copilot-cli | before 1.0.43fixed in 1.0.43 | 1.0.43 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-45033'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-45033'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-45033'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-45033'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).