---
id: CVE-2026-76072
title: >-
  The Continue CLI applies an incomplete denylist as its only barrier to
  destructive shell commands when running unattended
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 …
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-184
published: '2026-08-24'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T20:43:32.537'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-76072'
references:
  - url: 'https://github.com/continuedev/continue'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/continuedev/continue/blob/main/packages/terminal-security/src/evaluateTerminalCommandSecurity.ts
    label: disclosure@vulncheck.com
  - url: 'https://github.com/continuedev/continue/issues/13001'
    label: disclosure@vulncheck.com
  - url: 'https://www.npmjs.com/package/@continuedev/cli'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/continue-cli-through-incomplete-destructive-command-denylist-in-headless-and-auto-mode
    label: disclosure@vulncheck.com
  - url: 'https://github.com/continuedev/continue/issues/13001'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00547
epssPercentile: 0.43405
ingestedAt: '2026-09-24T20:51:40.224Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
