CVE-2026-40518 ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode
HighCVSS 7.1
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| bytedance/deer-flow | < 2176b2bbfccfce25ceee08318813f96d843a13fd | 2176b2bbfccfce25ceee08318813f96d843a13fd | Fixed |
| bytedance deerflow | = 2.0-m0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| bytedance/deer-flow | < 2176b2bbfccfce25ceee08318813f96d843a13fd | 2176b2bbfccfce25ceee08318813f96d843a13fd |
| bytedance deerflow | = 2.0-m0 | No fix listed |
References
- github.com issue-tracking patch
- github.com patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-23456 third-party-advisory