Katalog CVE

CVE-2026-76072

WysokieCVSS 7.4
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.32%

Percentyl 24 - wyżej niż 24% wszystkich znanych CVE

Streszczenie

Narzędzie Continue CLI w trybie bez nadzoru (headless/auto) stosuje niekompletną listę zablokowanych poleceń jako jedyną ochronę przed destrukcyjnymi komendami powłoki. Zezwala na wykonanie polecenia Bash, a blokuje tylko niektóre ścieżki, co pozwala na rekurencyjne usunięcie katalogów takich jak /home, /root, /var, /opt czy /srv. Dodatkowo, przez parsowanie zmiennych, polecenie rm -rf $HOME nie jest blokowane, a inne niebezpieczne narzędzia (find, shred, wipefs, truncate, pkexec) nie są odpowiednio obsłużone.

Ocena ryzyka

Złośliwa treść (np. strona internetowa, plik repozytorium, tekst zgłoszenia) może spowodować, że automatyczne działanie narzędzia usunie dane użytkownika, co prowadzi do utraty danych lub naruszenia integralności systemu.

Rekomendacja

Należy natychmiast zaktualizować narzędzie Continue CLI do wersji zawierającej poprawkę, która rozszerza listę blokowanych poleceń i ścieżek. Do czasu aktualizacji unikaj uruchamiania w trybie bez nadzoru na danych, których utrata byłaby krytyczna.

Powiązane podatności

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

The Continue CLI applies an incomplete denylist as its only barrier to destructive shell commands when running unattended. In headless mode and auto mode the default policy in extensions/cli/src/permissions/defaultPolicies.ts grants the Bash tool the allow permission, and permissionChecker.ts hard-blocks a command only when the terminal-security evaluator returns a disabled verdict, so isCriticalCommand in packages/terminal-security/src/evaluateTerminalCommandSecurity.ts is the sole control. Its dangerous-path test matches only /, /*, ~, ~/*, /usr, /etc, /bin and /sbin and their prefixes, so a recursive forced removal of /home, /root, /var, /opt or /srv is not disabled. The command line is parsed with shell-quote, which reduces $HOME to an empty token, so rm -rf $HOME also fails the dangerous-path test while the shell re-expands the variable when the command is spawned. find with -delete is rated high risk rather than disabled, and shred, wipefs, truncate and pkexec are not handled. Because the agent autonomously reads content it does not control, including fetched web pages, repository files and issue text, an indirect prompt injection in that content can cause an unattended run to destroy the invoking user's data.

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