Katalog CVE

CVE-2026-29783

Wysokie
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Narzędzie shell w GitHub Copilot CLI w wersjach do 0.0.422 może umożliwić wykonanie dowolnego kodu poprzez odpowiednio skonstruowane wzorce rozszerzenia parametrów bash. Atakujący, który może wpływać na polecenia wykonywane przez agenta, może wykorzystać te wzorce do wykonania ukrytych poleceń.

Ocena ryzyka

Organizacja może być narażona na nieautoryzowane wykonanie kodu, co może prowadzić do poważnych naruszeń bezpieczeństwa i utraty danych. Wykorzystanie tej podatności może umożliwić atakującym przejęcie kontroli nad systemem.

Rekomendacja

Zaleca się aktualizację GitHub Copilot CLI do wersji 0.0.423 lub nowszej, aby usunąć tę podatność. Dodatkowo, warto przeprowadzić audyt używanych skryptów i poleceń w celu zminimalizowania ryzyka.

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

The shell tool within GitHub Copilot CLI versions prior to and including 0.0.422 can allow arbitrary code execution through crafted bash parameter expansion patterns. An attacker who can influence the commands executed by the agent (e.g., via prompt injection through repository files, MCP server responses, or user instructions) can exploit bash parameter transformation operators to execute hidden commands, bypassing the safety assessment that classifies commands as "read-only." This has been patched in version 0.0.423. The vulnerability stems from how the CLI's shell safety assessment evaluates commands before execution. The safety layer parses and classifies shell commands as either read-only (safe) or write-capable (requires user approval). However, several bash parameter expansion features can embed executable code within arguments to otherwise read-only commands, causing them to appear safe while actually performing arbitrary operations. The specific dangerous patterns are ${var

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS