{"id":"CVE-2026-76072","aliases":["CVE-2026-76072"],"related":[],"kind":"vulnerability","state":"published","title":"Continue CLI through 1.5.47 Incomplete Destructive Command Denylist in Headless and Auto Mode","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La CLI de Continue aplica una lista de denegación incompleta como su única barrera a comandos de shell destructivos cuando se ejecuta sin supervisión. En modo sin interfaz gráfica y modo automático, la política predeterminada en extensions/cli/src/permissions/defaultPolicies.ts otorga a la herramienta Bash el permiso de permitir, y permissionChecker.ts bloquea un comando de forma estricta solo cuando el evaluador de seguridad de terminal devuelve un veredicto de deshabilitado, por lo que isCriticalCommand en packages/terminal-security/src/evaluateTerminalCommandSecurity.ts es el único control. Su prueba de ruta peligrosa coincide solo con /, /*, ~, ~/*, /usr, /etc, /bin y /sbin y sus prefijos, por lo que una eliminación forzada recursiva de /home, /root, /var, /opt o /srv no está deshabilitada. La línea de comandos se analiza con shell-quote, lo que reduce $HOME a un token vacío, por lo que rm -rf $HOME también falla la prueba de ruta peligrosa mientras que el shell re-expande la variable cuando se genera el comando. find con -delete se clasifica como de alto riesgo en lugar de deshabilitado, y shred, wipefs, truncate y pkexec no se gestionan. Debido a que el agente lee de forma autónoma contenido que no controla, incluyendo páginas web obtenidas, archivos de repositorio y texto de incidencias, una inyección de prompt indirecta en ese contenido puede hacer que una ejecución sin supervisión destruya los datos del usuario invocador.","source":"nvd"}],"published":"2026-08-24T17:55:38.529Z","modified":"2026-10-12T15:10:00.207Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","score":7.4,"rating":"HIGH"}],"cwes":["CWE-184"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.5.47","status":"affected"}],"vendor":"continuedev","product":"continue","repo":"https://github.com/continuedev/continue","source":"cvelist"}],"references":[{"url":"https://github.com/continuedev/continue","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/continuedev/continue/issues/13001","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/continuedev/continue/blob/main/packages/terminal-security/src/evaluateTerminalCommandSecurity.ts","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.npmjs.com/package/@continuedev/cli","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/continue-cli-through-incomplete-destructive-command-denylist-in-headless-and-auto-mode","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["George Chen"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-08-24T18:35:13.915Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-76072","url":"https://www.cve.org/CVERecord?id=CVE-2026-76072","licence":"CVE Terms of Use","modified":"2026-08-24T18:36:09.720Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-76072","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76072","licence":"Public domain","modified":"2026-10-12T15:10:00.207Z"}],"updatedAt":"2026-11-25T22:59:35.053Z","epss":{"score":0.00392,"percentile":0.3553,"date":"2026-12-01T12:00:22.000Z"}}