Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 72%

CVE-2026-45033: CWE-696: Incorrect Behavior Order in github copilot-cli

0
High
VulnerabilityCVE-2026-45033cvecve-2026-45033cwe-696
Published: 05/13/2026 (05/13/2026, 15:45:26 UTC)
Source: CVE Database V5
Vendor/Project: github
Product: copilot-cli

Description

GitHub Copilot CLI versions prior to 1.0.43 contain a high-severity vulnerability (CVE-2026-45033) that allows arbitrary code execution. This occurs when a malicious bare git repository is nested inside a project directory, exploiting git's automatic bare repository discovery during directory traversal. The vulnerability leverages git configuration keys such as core.fsmonitor and others that can execute arbitrary shell commands during normal git operations. This issue is fixed in version 1.0.43.

CVSS v4.0

Score 8.5high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
github/copilot-cli
pkg:github/github/copilot-cli
Affected versions
<1.0.43

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/20/2026, 19:10:52 UTC

Technical Analysis

CVE-2026-45033 is a vulnerability in GitHub Copilot CLI before version 1.0.43 where a malicious bare git repository nested inside a project directory can cause arbitrary code execution. The root cause is git's automatic discovery of bare repositories during directory traversal, which allows an attacker to set executable config keys like core.fsmonitor, core.hookspath, diff.external, and merge.tool to arbitrary shell commands. These commands are executed by git during routine operations such as status, diff, or rev-parse without user awareness or approval. The vulnerability is classified under CWE-696 (Incorrect Behavior Order).

Potential Impact

An attacker who can place a malicious bare git repository inside a project directory can execute arbitrary code on the victim's system when the GitHub Copilot CLI performs git operations. This can lead to full compromise of the environment running the vulnerable CLI version. The CVSS 4.0 score is 8.5 (high severity), reflecting the local attack vector with low complexity but high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade GitHub Copilot CLI to version 1.0.43 or later, where this vulnerability is fixed. Since the vendor advisory indicates the issue is resolved in 1.0.43, applying this official fix is the recommended remediation. No other mitigation or temporary workaround is provided in the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-08T16:58:28.897Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a04a50ccbff5d8610e804c0

Added to database: 05/13/2026, 16:21:32 UTC

Last enriched: 05/20/2026, 19:10:52 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 111

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses