CVE-2026-40518 PUBLISHED

ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode

Assigner: VulnCheck
Reserved: 13.04.2026 Published: 17.04.2026 Updated: 17.04.2026

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 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
CVSS Score: 7.1

Product Status

Vendor bytedance
Product deer-flow
Versions Default: unaffected
  • affected from 0 to 2176b2bbfccfce25ceee08318813f96d843a13fd (excl.)

Credits

  • Chia Min Jun Lennon finder

References

Problem Types

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE