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

Inspect INC-2026-29783 in Interactive Incidents & Cases Hub

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

Mapped defensive controls

Source citation records