CVE-2026-40518

Source
https://cve.org/CVERecord?id=CVE-2026-40518
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40518.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40518
Published
2026-04-17T16:43:42.387Z
Modified
2026-07-08T08:13:12.860567279Z
Severity
  • 7.1 (High) CVSS_V4 - 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 CVSS Calculator
Summary
ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "fixed": "2176b2bbfccfce25ceee08318813f96d843a13fd"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40518.json",
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Git / github.com/bytedance/deer-flow

Affected ranges

Type
GIT
Repo
https://github.com/bytedance/deer-flow
Events
Database specific
{
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:bytedance:deerflow:2.0-m0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.0-m0"
        },
        {
            "last_affected": "2.0-m0"
        }
    ]
}

Affected versions

2.*
2.0-m0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40518.json"