CVE-2026-40518
HIGHByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode
Title source: cnaDescription
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.
References (3)
Core 3
Core References
Issue Tracking issue-tracking
https://github.com/bytedance/deer-flow/pull/2274
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/bytedance-deerflow-path-traversal-and-arbitrary-file-write-via-bootstrap-mode
Scores
CVSS v3
7.1
EPSS
0.0036
EPSS Percentile
27.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (2)
bytedance/deer-flow
< 2176b2bbfccfce25ceee08318813f96d843a13fd
bytedance/deerflow
2.0-m0
Published
Apr 17, 2026
Tracked Since
Apr 17, 2026