Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft input with shell metacharacters and relative paths
-
ExploitBypass regex-based sandbox validation
-
ExecutionChange directory outside sandbox boundary
-
ImpactExecute arbitrary commands via subprocess with shell interpretation enabled
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Requires ByteDance Deer-Flow versions prior to commit 92c7a20. Remote attacker with user interaction: victim must invoke bash tool handling with attacker-controlled input. Exploits incomplete regex validation in sandbox to escape via shell features (directory changes, relative paths) and execute arbitrary commands. |
| Impact | This vulnerability presents elevated real-world risk despite the absence of confirmed active exploitation. The CVSS 4.0 score of 8.6 reflects network attack vector (AV:N), low complexity (AC:L), no privileges required (PR:N), and high impact to confidentiality, integrity, and availability (VC:H/VI:H/VA:H). User interaction is required (UI:A), providing minor mitigation. EPSS data not provided but risk factors include: (1) detailed public advisory from VulnCheck with technical analysis of the bypass mechanism, (2) public patch commit and pull request exposing the vulnerable code patterns, (3) sandbox escape class vulnerabilities are high-value targets as they defeat security boundaries, (4) workflow orchestration platforms often handle sensitive data and credentials making them attractive targets. SSVC considerations indicate likely medium-to-high prioritization: exploitation requires user interaction but technical impact enables full system compromise within the sandbox context. The authentication requirement ambiguity warrants immediate clarification from vendor documentation, as unauthenticated network exposure would dramatically increase urgency. Organizations running Deer-Flow should prioritize patching regardless of exploitation status given the fundamental nature of sandbox isolation failures. |
| Exploit ScenarioDerived | An attacker submits a malicious workflow to a Deer-Flow instance containing a bash tool invocation that appears legitimate to regex validation but includes shell metacharacters and directory traversal sequences. The payload uses relative paths (../../) combined with semicolons or command substitution to change directories outside the sandbox boundary. Once validation is bypassed, the attacker executes commands that read sensitive configuration files from the host filesystem (such as /etc/passwd or application secrets), modifies system files to establish persistence, or invokes reverse shells by leveraging subprocess calls with shell interpretation enabled. Since the attack vector is network-based with low complexity and no privileges required, widespread exploitation is feasible once attackers understand the validation bypass technique detailed in the public advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Sandbox escape in ByteDance Deer-Flow (pre-commit 92c7a20) enables remote attackers to execute arbitrary commands on the host system by exploiting incomplete shell semantics validation in bash tool handling. Attackers bypass regex-based input filters using directory traversal and relative paths to break sandbox isolation, read/modify host files, and invoke subprocesses with shell interpretation. Authentication requirements not confirmed from available data. No public exploit identified at time of analysis, though detailed technical advisory exists.
RemediationAI
Upgrade ByteDance Deer-Flow to commit 92c7a20cb74addc3038d2131da78f2e239ef542e or later to eliminate the sandbox escape vulnerability. The fix is available via GitHub pull request 1547 (https://github.com/bytedance/deer-flow/pull/1547) with the corrected validation logic in commit 92c7a20 (https://github.com/bytedance/deer-flow/commit/92c7a20cb74addc3038d2131da78f2e239ef542e). Organizations unable to immediately patch should implement defense-in-depth controls including: restricting network access to Deer-Flow instances to trusted users only, implementing additional input validation at the application layer before workflow submission, applying principle of least privilege to the user accounts running Deer-Flow processes, and monitoring for suspicious bash command patterns in workflow logs (directory traversal sequences, unusual subprocess invocations). Review existing workflows for potential malicious payloads if compromise is suspected. Consult the detailed technical analysis at VulnCheck advisory for specific attack patterns to audit.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ByteDance Deer-Flow is a workflow orchestration platform that implements sandbox isolation for bash tool execution. The vulnerability stems from CWE-184 (Incomplete List of Disallowed Inputs), where regex-based validation fails to account for complete shell semantics. The sandbox provider attempts to restrict bash command execution but does not properly model shell features including directory change operations (cd), relative path resolution (../, ./), and subprocess invocation patterns. When shell=True is enabled in subprocess calls, attackers can craft payloads that appear benign to the regex validator but leverage shell interpretation features to escape the intended execution boundary. This represents a classic input validation bypass where blocklist-based filtering proves insufficient against the complexity of shell command parsing and execution contexts.
Know when Deerflow gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (vulncheck) · only source for this CVE.
CVSS VectorVendor: vulncheck
Lifecycle Timeline
3DescriptionCVE.org
ByteDance Deer-Flow versions prior to commit 92c7a20 contain a sandbox escape vulnerability in bash tool handling that allows attackers to execute arbitrary commands on the host system by bypassing regex-based validation using shell features such as directory changes and relative paths. Attackers can exploit the incomplete shell semantics modeling to read and modify files outside the sandbox boundary and achieve arbitrary command execution through subprocess invocation with shell interpretation enabled.
Executive ViewAI
ByteDance Deer-Flow versions prior to commit 92c7a20 contain a sandbox escape vulnerability (CVSS 8.6) that allows remote attackers to execute arbitrary commands on host systems by exploiting inadequate input validation in bash tool handling. Organizations using Deer-Flow in CI/CD or automation pipelines face direct risk of code execution and unauthorized file access, potentially compromising build integrity and sensitive host systems.
Apply vendor patch. Until patched: isolate Deer-Flow instances to dedicated, air-gapped environments; disable bash tool functionality if not operationally required; implement file system access controls to restrict host file read/write permissions; monitor all Deer-Flow process execution and file system activity for anomalies.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Improper authorization in ByteDance DeerFlow 2.1.0 and 2.2.0 lets an authenticated low-privilege user reach the sandbox
ByteDance Deer-Flow artifacts API fails to sanitize user-supplied HTML and script content before storage and rendering,
EUVD-2026-17903
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB