CVE-2026-40518

HIGH

ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode

Title source: cna

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.0003
EPSS Percentile 8.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Details

CWE
CWE-22
Status published
Products (1)
bytedance/deer-flow < 2176b2bbfccfce25ceee08318813f96d843a13fd
Published Apr 17, 2026
Tracked Since Apr 17, 2026