mcp-cve-project

CVE-2026-29783 | GitHub Copilot CLI bash parameter expansion RCE (MCP-influenced) | Severity: see NVD

CVE Information

Field Value
CVE / NVD CVE-2026-29783
EPSS score 0.003630000 (FIRST EPSS, 2026-06-30)
Date (index) 2026-03-06
Affected product (index) GitHub Copilot CLI
GHSA ID GHSA-g8r9-g2v8-jv6f
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-03-06
Ecosystem npm
Component GitHub Copilot CLI
CVSS score 7.8 HIGH CVSS v3.1 (NVD)
CWE CWE-78
Affected versions <= 0.0.422
Fixed versions 0.0.423
Fix status Patched
Exploit status Public CVE record; do not mirror weaponized payloads
Notes Added during the 2026-07-01 missing-CVE recheck against NVD/GHSA/OX/VIPER-MCP sources.

CVE Breakdown


What is the vulnerability?

Shell tool allowed arbitrary code execution via crafted bash parameter expansion when attacker influences executed commands (e.g., prompt injection through repository files or MCP server responses).

Attack prerequisites / exposure

Exposure depends on how the affected MCP server, client, plugin, extension, SDK transport, or adjacent AI workflow is deployed. Prioritize network-reachable MCP transports, desktop apps with MCP extensions enabled, CI or agent environments, and systems with access to browsers, repositories, credentials, cloud resources, databases, or local files.

CVE is because of what bug?

Primary mapped weakness: MCP05 — Command Injection & Execution. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.

MCP-specific impact / why it matters

MCP components bridge model output to privileged tools. Vulnerabilities in authorization, path validation, OAuth handling, command execution, SSRF validation, transport trust, or configuration loading can turn prompt/tool input into host compromise, credential disclosure, unauthorized browser/cloud/database access, or persistent malicious tool execution.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.

Fix / Remediation

Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification

Patch

Track NVD references for CVE-2026-29783 and apply the upstream patched release or commit recommended by the vendor/CNA.