7.1High

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

bytedance deer-flow Published: (7 months ago)

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.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
bytedance deer-flow —
bytedance deerflow 2.0-m0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:bytedance:deerflow:2.0-m0:*:*:*:*:*:*:*