CVE-2026-40518

ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode

Published Apr 17, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:bytedance:deerflow:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Bytedance deerflow
CPEs cpe:2.3:a:bytedance:deerflow:2.0-m0:*:*:*:*:*:*:*
Vendors & Products Bytedance deerflow
Type Values Removed Values Added
First Time appeared Bytedance
Bytedance deer-flow
Vendors & Products Bytedance
Bytedance deer-flow
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 7.1, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:02 PM
Reserved
Apr 13, 2026, 8:29 PM
Status
Analyzed
Published
Apr 17, 2026, 5:17 PM
Modified
Oct 26, 2026, 9:10 PM