CVE-2026-40518

HIGH

ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode

Title source: cna
STIX 2.1

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.

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