{"id":"CVE-2026-40518","published":"2026-04-17T16:43:42Z","modified":"2026-11-08T14:02:56Z","title":"ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode","vendor":"bytedance","product":"deer-flow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00362,"percentile":0.30863,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/bytedance/deer-flow/pull/2274","tags":["issue-tracking","patch"]},{"url":"https://github.com/bytedance/deer-flow/commit/2176b2bbfccfce25ceee08318813f96d843a13fd","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/bytedance-deerflow-path-traversal-and-arbitrary-file-write-via-bootstrap-mode","tags":["third-party-advisory"]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":6.17},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"bytedance","affectedVersions":[{"vendor":"bytedance","product":"deer-flow","versions":["< 2176b2bbfccfce25ceee08318813f96d843a13fd"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-17T18:35:29.825676Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-23456","exploited":false,"provenance":"source"}}