8.5

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

Analyzed
AliasesCGA-rx4c-9jrr-vm2rCGA-x322-hr5v-fwwjGHSA-9ccr-r5hg-74gf
Published 13-05-2026Last modified 13-05-2026

Vulnerability summary

CVE-2026-45033 is a high (CVSS 8.5) Incorrect Behavior Order vulnerability in github copilot-cli. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.5/10
010
High · v4.0 (CVE.org)
EPSS score
0.29%
0%100%
Low · -0.06 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 13-05-2026
    PublishedVulnerability first disclosed.
  2. 13-05-2026
    Last modifiedVulnerability information updated.

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 metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.29%

Chance of exploitation in the next 30 days

Percentile

24%

Versus all other CVEs

30-day change

Decrease -0.06 pp

From 0.35% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Copilot Cli

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

@github1 product
  • copilot< 1.0.43
Chainguard1 product
  • rstudio< 2026.05.0_p218-r2
Github1 product
Wolfi1 product
  • rstudio< 2026.05.0_p218-r2

4 vendors · 4 products

References

4 links