CVE-2026-40518

HIGH CVSS 4.0: 7.1 EPSS 0.36%
Updated Oct 27, 2026
Bytedance
Parameter Value
CVSS 7.1 (HIGH)
Type CWE-22 (Path Traversal)
Vendor Bytedance
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Bytedance Deerflow
cpe:2.3:a:bytedance:deerflow:2.0-m0:*:*:*:*:*:*:*
— —

Related Vulnerabilities