Path Traversal and File Write Vulnerability in ByteDance DeerFlow
CVE-2026-40518
7.1HIGH
What is CVE-2026-40518?
A security flaw exists in ByteDance DeerFlow versions prior to commit 2176b2b, where the creation of custom-agents in bootstrap mode fails to properly validate agent names. This weakness allows an attacker to introduce traversal patterns or absolute paths in the agent name, enabling the potential to create directories and write files outside of the designated custom-agent directory. As a result, this vulnerability could allow unauthorized access to the filesystem, contingent on existing file system permissions.
Affected Version(s)
deer-flow 0 < 2176b2bbfccfce25ceee08318813f96d843a13fd
