Home

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.

PUBLISHED Reserved 2026-04-13 | Published 2026-04-17 | Updated 2026-04-17 | Assigner VulnCheck




HIGH: 7.1CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

HIGH: 7.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Problem types

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

Product status

Default status
unaffected

Any version before 2176b2bbfccfce25ceee08318813f96d843a13fd
affected

Credits

Chia Min Jun Lennon finder

References

github.com/bytedance/deer-flow/pull/2274 issue-tracking

github.com/...ommit/2176b2bbfccfce25ceee08318813f96d843a13fd patch

www.vulncheck.com/...arbitrary-file-write-via-bootstrap-mode third-party-advisory

cve.org (CVE-2026-40518)

nvd.nist.gov (CVE-2026-40518)

Download JSON