Incorrect Behavior Order
CVE-2026-45033
Summary
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. This issue affects @github/copilot versions prior to 1.0.43.
- LOW
- LOCAL
- NONE
- LOW
CWE-696 - Incorrect Behavior Order
The product performs multiple related behaviors, but the behaviors are performed in the wrong order in ways which may produce resultant weaknesses.
References
Advisory Timeline
- Published