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.
References
| Link | Resource |
|---|---|
| https://github.com/bytedance/deer-flow/commit/2176b2bbfccfce25ceee08318813f96d843a13fd | Patch |
| https://github.com/bytedance/deer-flow/pull/2274 | Issue Tracking Patch |
| https://www.vulncheck.com/advisories/bytedance-deerflow-path-traversal-and-arbitrary-file-write-via-bootstrap-mode | Third Party Advisory |
Configurations
History
05 Jun 2026, 18:07
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:bytedance:deerflow:2.0-m0:*:*:*:*:*:*:* | |
| First Time |
Bytedance deerflow
Bytedance |
|
| References | () https://github.com/bytedance/deer-flow/commit/2176b2bbfccfce25ceee08318813f96d843a13fd - Patch | |
| References | () https://github.com/bytedance/deer-flow/pull/2274 - Issue Tracking, Patch | |
| References | () https://www.vulncheck.com/advisories/bytedance-deerflow-path-traversal-and-arbitrary-file-write-via-bootstrap-mode - Third Party Advisory |
17 Apr 2026, 17:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-17 17:17
Updated : 2026-06-05 18:07
NVD link : CVE-2026-40518
Mitre link : CVE-2026-40518
CVE.ORG link : CVE-2026-40518
JSON object : View
Products Affected
bytedance
- deerflow
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
