Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @github/copilot
  4. ›
  5. CVE-2026-45033

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

May 11, 2026

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.

References

  • github.com/advisories/GHSA-9ccr-r5hg-74gf
  • github.com/github/copilot-cli
  • github.com/github/copilot-cli/security/advisories/GHSA-9ccr-r5hg-74gf
  • nvd.nist.gov/vuln/detail/CVE-2026-45033

Code Behaviors & Features

Detect and mitigate CVE-2026-45033 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.43

Fixed versions

  • 1.0.43

Solution

Upgrade to version 1.0.43 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-696: Incorrect Behavior Order

Source file

npm/@github/copilot/CVE-2026-45033.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 13 May 2026 00:18:58 +0000.