HarborGuard / CVE
Back to search
HIGHCVE-2026-40518Published Modified CNA VulnCheck

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

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.

Metrics

CVSS v4.0
7.1
Severity
HIGH
Fixed in
2176b2bbfccfce25ceee08318813f96d843a13fd
Affected Products
1

Fix available

2176b2bbfccfce25ceee08318813f96d843a13fd
Patch commits
Affected packages
  • bytedance / deer-flow
    < 2176b2bbfccfce25ceee08318813f96d843a13fd (from 0)
CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N