Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
continuedev continue
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Continue CLI 在无人值守模式下执行破坏性 Shell 命令时,仅依赖一个不完整的黑名单作为唯一防护屏障。在头less(headless)模式和自动模式下, 中定义的默认策略允许 Bash 工具获得执行权限;同时, 仅在“终端安全评估器”返回禁用裁定时才会硬性地阻止命令。因此, 中的 函数成为唯一的控制机制。 其危险路径检测逻辑仅匹配 、 、 、 、 、 、 和 及其前缀路径,因此递归强制删除 、 、 、 或 等目录不会被拦截。命令行通过 库进行解析,该库会将 缩减为空标记,导致 命令因不匹配危险路径而绕

CVSS 7.4 · High EPSS 0.32% · P24

Affected Version Matrix 1

VendorProduct Version RangeStatus
continuedev continue ≤ 1.5.47 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-76072

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Continue CLI through 1.5.47 Incomplete Destructive Command Denylist in Headless and Auto Mode
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
不完整的黑名单
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
continuedev continue 0 ~ 1.5.47 -

II. Public POCs for CVE-2026-76072

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7712 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-76072

登录查看更多情报信息。

Vendor Advisories for CVE-2026-76072 (1)

Proof of Concept for CVE-2026-76072 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-76072

No comments yet


Leave a comment