{"cve":"CVE-2026-45033","nvd":{"published":"2026-05-13T16:17:00.313","modified":"2026-10-26T17:10:03.270","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":8.5},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-696"],"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"],"products":["github:copilot-cli"],"source":"nvd","synced_at":"2026-10-26T17:39:09.812804557+00:00"},"epss":{"cve":"CVE-2026-45033","score":0.0035,"percentile":0.28392,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-9ccr-r5hg-74gf","url":"https://osv.dev/vulnerability/GHSA-9ccr-r5hg-74gf","summary":"GitHub Copilot CLI: Nested Bare Repository Can Execute Arbitrary Commands via core.fsmonitor","modified":"2026-09-10T03:51:05.081988582Z","packages":[{"ecosystem":"npm","name":"@github/copilot","purl":"pkg:npm/%40github/copilot","ranges":["<1.0.43"],"fixed":["1.0.43"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}