CVE-2026-40518
published high CVSS 4.0 · 7.1ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| bytedance | — | deer-flow0 to < 2176b2bbfccfce25ceee08318813f96d843a13fd · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| bytedance | deer-flow | 0 to < 2176b2bbfccfce25ceee08318813f96d843a13fd (affected · git)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3Provider assertions
2VulnCheck · cna
ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 346786fe7d56efb4867cdd51a70f6db8c26401dbd0f104a7418e1d10d7946230
- Ingested
- 08 Nov 2026, 14:13:57 UTC
- Source record
- Official CVE record