CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-45033

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Summary

W GitHub Copilot CLI przed wersją 1.0.43 zidentyfikowano podatność, która pozwala na wykonanie dowolnego kodu przez złośliwe repozytorium git umieszczone w katalogu projektu. Wykorzystując automatyczne odkrywanie repozytoriów bare przez git podczas przeszukiwania katalogów, atakujący może ustawić klucze konfiguracyjne do uruchamiania dowolnych poleceń.

Risk Assessment

Podatność ta stwarza poważne ryzyko dla bezpieczeństwa, ponieważ umożliwia atakującemu wykonywanie poleceń bez wiedzy lub zgody użytkownika, co może prowadzić do kompromitacji systemu.

Recommendation

Zaleca się aktualizację GitHub Copilot CLI do wersji 1.0.43 lub nowszej, aby usunąć tę podatność oraz przeprowadzenie audytu istniejących repozytoriów w celu wykrycia potencjalnych zagrożeń.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS