VULNERABILITY INTELLIGENCE
CVE-2026-40518
CVSS score7.1 HIGH
EPSS probability0.36%
CISA KEVNot currently listed
Published2026-04-17
Last modified2026-10-26
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
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.
Weakness classification
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Primary references
- disclosure@vulncheck.com — Patch
- disclosure@vulncheck.com — Issue Tracking, Patch
- disclosure@vulncheck.com — Third Party Advisory