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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.0.43 (CNA); fix release not confirmed
- Status: published
- Published: 2026-05-13 · Modified: 2026-05-13
- Aliases: CGA-rx4c-9jrr-vm2r, CGA-x322-hr5v-fwwj, GHSA-9ccr-r5hg-74gf
- Record: https://cvemate.com/vulnerability/CVE-2026-45033 · JSON: https://cvemate.com/vulnerability/CVE-2026-45033/json

## Description

```text
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.
```

## Signals

- CVSS: 8.5 high (v4.0, CVE.org) 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
- EPSS: 0.294%, percentile 23.646%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard rstudio (Chainguard): \< 2026.05.0\_p218-r2
- wolfi rstudio (Wolfi): \< 2026.05.0\_p218-r2
- github copilot-cli: \< 1.0.43
- @github copilot (Npm): \< 1.0.43

## References

- <https://github.com/github/copilot-cli/security/advisories/GHSA-9ccr-r5hg-74gf>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45033.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45033>
- <https://github.com/github/copilot-cli>

---

Data as of 2026-12-05T07:51:28.336Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
