Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-40518

ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

bytedance deer-flow

Default version status: unaffected

  • 0 to < 2176b2bbfccfce25ceee08318813f96d843a13fdaffected
pkg:github/bytedance/deer-flow

References