{"schemaVersion":3,"id":"CVE-2026-45033","aliases":["CGA-rx4c-9jrr-vm2r","CGA-x322-hr5v-fwwj","GHSA-9ccr-r5hg-74gf"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-05-13T15:45:26.751Z","modified":"2026-05-13T18:38:57.370Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.5,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.5,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":8.5,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":8.5,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.5,"severity":"high","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":8.5,"severity":"high","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","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00384,"percentile":0.31041,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.034,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0035},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00384,"percentile":0.31041}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0035,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00384,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00384,"percentile":0.31041}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_GITHUB_COPILOT-CLI","name":"Copilot Cli","source":"github","url":"https://github.com/github/copilot-cli/security/advisories/GHSA-g8r9-g2v8-jv6f","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-696","name":"Incorrect Behavior Order","description":"The product performs multiple related behaviors, but the behaviors are performed in the wrong order in ways that may produce resultant weaknesses.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/696.html"}],"affected":[{"vendor":"chainguard","product":"rstudio","name":"rstudio","label":"rstudio","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/rstudio","purlType":"apk","versions":[{"text":"< 2026.05.0_p218-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2026.05.0_p218-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"rstudio","name":"rstudio","label":"rstudio","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/rstudio","purlType":"apk","versions":[{"text":"< 2026.05.0_p218-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2026.05.0_p218-r2","eol":null,"hubHref":null},{"vendor":"github","product":"copilot-cli","name":"copilot-cli","label":"copilot-cli","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.43","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.43","eol":null,"hubHref":"/vendor/github/copilot-cli"},{"vendor":"@github","product":"copilot","name":"@github/copilot","label":"copilot","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@github/copilot","purlType":"npm","versions":[{"text":"< 1.0.43","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.43","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/github/copilot-cli/security/advisories/GHSA-9ccr-r5hg-74gf","label":"github.com/github/copilot-cli/security/advisories/GHSA-9ccr-r5hg-74gf","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Exploit","Mitigation","Vendor Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45033.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45033.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45033","label":"nvd.nist.gov/vuln/detail/CVE-2026-45033","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/github/copilot-cli","label":"github.com/github/copilot-cli","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-M6WF-GX7X-3PMX"]},"timeline":[{"kind":"published","date":"2026-05-13T15:45:26.751Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-13T18:38:57.370Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":44,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T07:43:06.698Z","stale":false,"partial":false}}