Documented Incident · INC-2026-29783 · High severity
Coding CLI Read-Only Shell Filter Bypass via Bash Parameter Expansion
CVE-2026-29783 (published March 6, 2026) disclosed a shell-tool policy bypass in GitHub Copilot CLI (`< 0.0.422`) allowing arbitrary command execution past read-only safety checks. Crafted bash parameter expansion patterns slipped through the CLI's static command parser, which classified the command as safe for automatic execution without user confirmation. Indirect prompt injections in untrusted repositories could leverage these expansion primitives to execute malicious payloads silently. Maintainers updated shell AST parsing and tightened confirmation triggers in v0.0.422.
Incident dossier metadata
- Case ID
INC-2026-29783- 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-29783- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2026-29783
Defensive takeaway
Do not auto-approve shell commands containing complex bash expansions, command substitutions, or variable indirection; isolate agent shells in sandboxes.
Mapped AI security techniques
- Command and Scripting Interpreter AML.T0050
- AI Agent Tool Invocation AML.T0053
- LLM Prompt Obfuscation AML.T0068
- Generate Malicious Commands AML.T0102
Mapped defensive controls
- Enforce Access Controls for AI Agent Tools AML.M0028
- Human In-the-Loop for AI Agent Actions AML.M0029
- Segmentation of AI Agent Components AML.M0032
Source citation records
- NVD Record CVE-2026-29783: GitHub Copilot CLI Bash Parameter Expansion Bypass · NIST National Vulnerability Database (NVD) ·