Arbitrary Code Execution Vulnerability in GitHub Copilot CLI

Check todayFull system takeover over the network if a user is tricked.
7.5HIGH

CVE-2026-29783

Key Information:

Vendor

Github

CVE ID
CVE ID:
CVE-2026-29783
Vendor
CVE Published:
6 March 2026

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but a user must act
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Copilot-cli. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (7.5).

What is CVE-2026-29783?

The GitHub Copilot CLI contains a vulnerability that allows arbitrary code execution through crafted bash parameter expansion patterns in versions up to and including 0.0.422. This issue arises from the CLI's shell safety assessment mechanism, which wrongly classifies certain commands as read-only. Attackers can exploit this vulnerability through prompt injection via manipulated repository files, malicious MCP server responses, or crafted user instructions, enabling them to execute hidden commands that can modify files or exfiltrate sensitive data. This vulnerability was addressed in version 0.0.423.

Affected Version(s)

copilot-cli <= 0.0.422

References

Improper Neutralization Vulnerability in GitHub Enterprise Server

CVE-2026-4821
GithubEnterprise Server8.1HIGH

Remote Code Execution Vulnerability in GitHub Enterprise Server

CVE-2026-3854
GithubEnterprise ServerπŸ”₯πŸ˜„πŸ‘Ύ8.7HIGH

Cryptographic Signature Spoofing Vulnerability in GitHub Enterprise Server

CVE-2025-23369
GithubEnterprise ServerπŸ˜„πŸ‘Ύ7.6HIGH
View more Github vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V4

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown
.