CVE-2026-40518
Severity CVSS v4.0:
HIGH
Type:
CWE-22
Path Traversal
Publication date:
17/04/2026
Last modified:
05/06/2026
Description
ByteDance DeerFlow before commit 2176b2b contains a path traversal and arbitrary file write vulnerability in bootstrap-mode custom-agent creation where the agent name validation is bypassed. Attackers can supply traversal-style values or absolute paths as the agent name to influence directory creation and write files outside the intended custom-agent directory, potentially achieving arbitrary file write on the system subject to filesystem permissions.
Impact
Base Score 4.0
7.10
Severity 4.0
HIGH
Base Score 3.x
7.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:bytedance:deerflow:2.0-m0:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



