CVE-2026-109560 in Continueinfo

Summary

by MITRE • 10/13/2026

Continue CLI (@continuedev/cli) through 1.5.47 contains a permission bypass vulnerability that allows attackers to run unapproved commands by chaining them after allowed Bash prefix rules. Attackers can inject instructions into repository files or fetched pages so the agent appends commands after ;, && or | to execute code as the user.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 10/13/2026

The Continue CLI tool, specifically versions through 1.5.47, contains a critical permission bypass vulnerability that undermines the intended security model of command execution restrictions. This flaw arises from an insufficient validation mechanism within the application's logic for handling Bash prefix rules designed to whitelist specific commands or prefixes. The core technical issue lies in how the CLI parses and executes shell commands when interacting with external inputs such as repository files or fetched web pages. Instead of strictly enforcing a rigid allowlist that prevents any deviation, the implementation allows attackers to chain additional instructions after permitted commands using standard shell metacharacters like semicolons (;), logical AND operators (&&), or pipe symbols (|). This behavior effectively neutralizes the protective barrier intended by the prefix rules, as the shell interprets these characters as command separators that allow subsequent arbitrary code execution within the same context.

From a technical perspective, this vulnerability represents a classic case of improper input validation leading to unauthorized command injection. When an attacker injects malicious payloads into repository files or web pages fetched by the agent, they can append their desired commands after the allowed prefix. For instance, if a user is permitted to run git status, an attacker could craft an input that triggers git status; rm -rf /, thereby executing destructive commands under the guise of legitimate activity. The vulnerability exploits the shell's native ability to concatenate commands, allowing the execution context to escalate beyond the intended scope without triggering security alerts or access denials. This mechanism bypasses both user expectations and any underlying sandboxing measures that might rely on command whitelisting rather than full path validation or restricted environments.

The operational impact of this vulnerability is severe, as it enables remote code execution with the privileges of the currently logged-in user. Since the Continue CLI operates within the developer's environment, successful exploitation can lead to data exfiltration, modification of source code repositories, installation of malware, or complete system compromise depending on the level of access held by the user account. Attackers do not need direct shell access; they only require the ability to influence files read by the agent or manipulate web content fetched during operation. This significantly lowers the barrier for exploitation and increases the attack surface considerably, particularly in collaborative environments where multiple users contribute code or integrate external data sources into their workflows.

This vulnerability aligns with CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection) due to its reliance on shell metacharacters to bypass restrictions. It also maps to MITRE ATT&CK technique T1059 Command and Scripting Interpreter, specifically subtechniques involving command chaining such as T1059.004 Shell or T1059.007 PowerShell depending on the specific implementation details of how commands are parsed. The exploitation vector is primarily remote via input manipulation rather than direct network service exposure, classifying it under injection attacks that target application logic rather than infrastructure components directly.

Mitigation strategies must focus on strict command parsing and execution isolation. Developers should implement a whitelist approach that validates not just the initial command but also ensures no shell metacharacters are present in any part of the input string before execution. Alternatively, using execve or similar system calls to execute binaries directly by their absolute path can bypass shell interpretation entirely, preventing the use of chaining operators. Upgrading to patched versions where this logic has been corrected is essential for immediate remediation. Additionally, running the CLI with minimal privileges and employing sandboxing technologies like containers or restricted shells can limit the blast radius if an exploitation attempt occurs. Regular security audits focusing on input validation in command execution contexts are recommended to prevent similar issues in future releases.

Responsible

VulnCheck

Reservation

10/12/2026

Disclosure

10/13/2026

Moderation

accepted

EPSS

0.00000

KEV

no

Activities

low

Sources

Want to know what is going to be exploited?

We predict KEV entries!