Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/bytedance/deer-flow/commit/2176b2bbfccfce25ceee08318813f96d84
- https://github.com/bytedance/deer-flow/pull/2274
- https://www.vulncheck.com/advisories/bytedance-deerflow-path-traversal-and-arbit
FAQ
What is CVE-2026-40518?
CVE-2026-40518 is a vulnerability with a CVSS score of 7.1 (HIGH). 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...
How severe is CVE-2026-40518?
CVE-2026-40518 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-40518?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.