CVE Catalog

CVE-2026-76072

HighCVSS 7.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.32%

24th percentile - higher than 24% of all known CVEs

Summary

The Continue CLI in unattended mode (headless/auto) uses an incomplete denylist as its only barrier to destructive shell commands. It allows the Bash tool and blocks only certain paths, permitting recursive forced removal of directories like /home, /root, /var, /opt, or /srv. Additionally, due to variable parsing, the command rm -rf $HOME is not blocked, and other dangerous tools (find, shred, wipefs, truncate, pkexec) are not properly handled.

Risk Assessment

Malicious content (e.g., a web page, repository file, or issue text) can cause the unattended run to delete user data, leading to data loss or system integrity compromise.

Recommendation

Immediately update the Continue CLI to a patched version that expands the list of blocked commands and paths. Until then, avoid running in unattended mode on data whose loss would be critical.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS