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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40518.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:bytedance:deerflow:2.0-m0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0-m0"
},
{
"last_affected": "2.0-m0"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "2176b2bbfccfce25ceee08318813f96d843a13fd"
}
],
"source": "REFERENCES_COMMIT"
}
]
}