Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-40518
VULNERABILITY

CVE-2026-40518

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.1
Severity
HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Apr 17, 2026 17:17
Modified
Oct 26, 2026 21:10
Last observed
Oct 26, 2026 19:00

CWE

CWE-22

Affected product identifiers

cpe:2.3:a:bytedance:deerflow:2.0-m0:*:*:*:*:*:*:*

References