Documented Incident · INC-2026-45033 · High severity
Coding CLI Malicious Nested Bare Git Repository core.fsmonitor Auto-Execution
CVE-2026-45033 (CVSS 7.8, published May 11, 2026) exposed arbitrary command execution in GitHub Copilot CLI versions prior to `1.0.43`. When the coding agent traversed a workspace containing a crafted nested bare Git repository and invoked routine read-only commands such as `git status` or `git diff`, Git automatically honored repository-local `core.fsmonitor` or hook settings inside the nested folder. Attackers planting hidden bare Git configs inside pull requests or archives achieved code execution simply by having a developer inspect the repo with the CLI agent. Version `1.0.43` hardened Git invocation flags to neutralize untrusted repository configs.
Incident dossier metadata
- Case ID
INC-2026-45033- Classification
- Incident
- Date
- Severity
- High
- Sector
- Software Development & AI Tooling
- Attack vector
- Tool/MCP Abuse
- System type
- Terminal Agentic Coding CLIs
- CVE / reference
CVE-2026-45033- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2026-45033
Defensive takeaway
Invoke Git from coding agents with safe-directory restrictions and explicit config overrides (`-c core.fsmonitor=false -c core.hooksPath=/dev/null`).
Mapped AI security techniques
- User Execution: Unsafe AI Artifacts AML.T0011.000
- Command and Scripting Interpreter AML.T0050
- AI Agent Tool Invocation AML.T0053
- Machine Compromise: Local AI Agent AML.T0112.000
- Event Triggered Execution AML.T0142
Mapped defensive controls
- Vulnerability Scanning AML.M0016
- Enforce Access Controls for AI Agent Tools AML.M0028
- Segmentation of AI Agent Components AML.M0032
Source citation records
- NVD Record CVE-2026-45033: GitHub Copilot CLI Bare Git Repo Command Execution · NIST National Vulnerability Database (NVD) ·