# CVE-2026-76072: Continue CLI through 1.5.47 Incomplete Destructive Command Denylist in Headless and Auto Mode

> Incomplete command denylist in Continue CLI allows destructive shell commands via prompt injection in headless or auto mode, risking data loss.

- **Severity:** High 8.3 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 24 Aug 2026
- **Updated:** 24 Aug 2026
- **Also known as:** GHSA-xqr4-4xjv-5j7q

## What is CVE-2026-76072?

CVE-2026-76072 is a high-severity vulnerability in continuedev continue, published on 24 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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.

Weakness: CWE-184 (Incomplete List of Disallowed Inputs)

## Which versions are affected by CVE-2026-76072?


## How do I fix CVE-2026-76072?

No fix has been published for CVE-2026-76072 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-76072 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-76072 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-76072 and fix it if it is affected.

What it is: CVE-2026-76072 is a high-severity vulnerability in continuedev continue, published on 24 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-76072 exists.

Affected product: continuedev continue. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-76072/ (Markdown: https://insights.sbomify.com/CVE-2026-76072/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-76072
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-76072
- OSV: https://osv.dev/vulnerability/CVE-2026-76072

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-76072/
Summaries are generated and may contain mistakes; the official description above is the record.
