Skip to content

CVE-2026-40518 ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode

HighCVSS 7.1 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
bytedance/deer-flow < 2176b2bbfccfce25ceee08318813f96d843a13fd 2176b2bbfccfce25ceee08318813f96d843a13fd Fixed
bytedance deerflow = 2.0-m0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
bytedance/deer-flow < 2176b2bbfccfce25ceee08318813f96d843a13fd 2176b2bbfccfce25ceee08318813f96d843a13fd
bytedance deerflow = 2.0-m0 No fix listed

References